spec: add missing /request/files handler
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
This commit is contained in:
+19
-15
@@ -327,28 +327,32 @@ Each handler is identified by a `handler_id` and provide access to the
|
|||||||
following resource paths:
|
following resource paths:
|
||||||
|
|
||||||
```
|
```
|
||||||
/ The root of the resource paths tree
|
/ The root of the resource paths tree
|
||||||
│
|
│
|
||||||
├─ request All information related to the HTTP request. Read-Only
|
├─ 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 (URL-unquoted)
|
│ ├──── path Complete URL path (URL-unquoted)
|
||||||
│ ├──── matches Previously matched URL path parts
|
│ ├──── matches Previously matched URL path parts
|
||||||
│ │ └──── <name>
|
│ │ └──── <name>
|
||||||
│ ├──── params URL parameters (post ? symbol)
|
│ ├──── params URL parameters (post ? symbol)
|
||||||
│ │ └──── <name>
|
│ │ └──── <name>
|
||||||
│ ├──── headers HTTP request headers
|
│ ├──── headers HTTP request headers
|
||||||
│ │ └──── <name>
|
│ │ └──── <name>
|
||||||
│ ├──── cookies HTTP request cookie
|
│ ├──── cookies HTTP request cookie
|
||||||
│ │ └──── <name>
|
│ │ └──── <name>
|
||||||
│ ├──── form form-urlencoded form fields
|
│ ├──── form form-urlencoded form fields
|
||||||
│ │ └──── <name>
|
│ │ └──── <name>
|
||||||
│ └──── body HTTP request body
|
│ ├──── files Files uploaded via multi-part form fields
|
||||||
|
│ │ └──── <name>
|
||||||
|
│ │ └──── filename Original file name
|
||||||
|
│ │ └──── content The file content
|
||||||
|
│ └──── 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
|
||||||
└──── headers HTTP response headers
|
└──── headers HTTP response headers
|
||||||
└──── <name>
|
└──── <name>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user