spec: Handlers table reformat.

This commit is contained in:
Roberto Abdelkader Martínez Pérez committed 2019-05-22 10:01:16 +02:00
1 parent d25821db08
commit 2ef59e49f8
1 file changed
+11 -10
+11 -10
View File
@@ -329,26 +329,27 @@ request All information related to the HTTP request. Read-Only
├──── method Used HTTP Method (GET, POST) ├──── method Used HTTP Method (GET, POST)
├──── path Complete URL path. ├──── path Complete URL path.
├──── match Previously matched URL path parts. ├──── match Previously matched URL path parts.
│ └──── .* │ └──── <key>
├──── param URL parameters (post ? symbol) ├──── param URL parameters (post ? symbol)
│ └──── .* │ └──── <key>
├──── header HTTP request headers ├──── header HTTP request headers
│ └──── .* │ └──── <key>
├──── cookie HTTP request cookie ├──── cookie HTTP request cookie
│ └──── .* │ └──── <key>
├──── form form-encoding body data ├──── form form-encoding body data
│ └──── .* │ └──── <key>
├──── body HTTP request body └──── body HTTP request body
response All information related to the HTTP request. Write-Only response All information related to the HTTP request. Write-Only
├──── status HTTP status code ├──── status HTTP status code
├──── body Response body. Mutually exclusive with response/stream ├──── body Response body. Mutually exclusive with response/stream
├──── stream Chunk-encoded body. Streamed response. Mutually exclusive with response/body ├──── stream Chunk-encoded body. Streamed response. Mutually exclusive with response/body
├──── header HTTP response headers └──── header HTTP response headers
└──── └──── .* └──── <key>
``` ```
**Note**: Parameters under `request` are read-only and, conversely, parameters **Note**: Parameters under `request` are read-only and, conversely, parameters under
under `response` are write-only. `response` are write-only.
#### Get handler key #### Get handler key