-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change variable names: req, ctx, bereq, beresp #181
Conversation
request, context, backend_requests, backend_responses
docs/README.md
Outdated
|
||
#### `bereq` (modified backend request) variable | ||
`backend_requests.<label>` ist a list of all backend requests, and their variables. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`backend_requests.<label>` ist a list of all backend requests, and their variables. | |
`backend_requests.<label>` is a list of all backend requests and their variables. |
docs/README.md
Outdated
|
||
#### `bereq` (modified backend request) variable | ||
`backend_requests.<label>` ist a list of all backend requests, and their variables. | ||
To access a specific request use the related label. Request and Proxy blocks without a label will be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To access a specific request use the related label. Request and Proxy blocks without a label will be | |
To access a specific request use the related label. `request` and `proxy` blocks without a label will be |
docs/README.md
Outdated
|
||
#### `beresp` (original backend response) variable | ||
`backend_responses.<label>` ist a list of all backend responses, and their variables. Same behaviour as for `backend_requests`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`backend_responses.<label>` ist a list of all backend responses, and their variables. Same behaviour as for `backend_requests`. | |
`backend_responses.<label>` is a list of all backend responses and their variables. Same behaviour as for `backend_requests`. |
docs/README.md
Outdated
#### `beresp` (original backend response) variable | ||
`backend_responses.<label>` ist a list of all backend responses, and their variables. Same behaviour as for `backend_requests`. | ||
Use the related label to access a specific response. | ||
Request and Proxy blocks without a label will be available as `default`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Request and Proxy blocks without a label will be available as `default`. | |
`request` and `proxy` blocks without a label will be available as `default`. |
docs/README.md
Outdated
@@ -709,13 +713,13 @@ definitions { | |||
### Path Parameter | |||
|
|||
An endpoint label could be defined as `endpoint "/app/{section}/{project}/view" { ... }` | |||
to access the named path parameter `section` and `project` via `req.path_param.*`. | |||
to access the named path parameter `section` and `project` via `request.path_param.*`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to access the named path parameter `section` and `project` via `request.path_param.*`. | |
to access the named path parameter `section` and `project` via `request.path_params.*`. |
request, context, backend_requests, backend_responses
Closes #180