Skip to content

Commit 7e5ee40

Browse files
committed
documentation cleanup
1 parent 71316e9 commit 7e5ee40

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,14 @@ The `REQUEST` object contains a parsed and normalized request from API Gateway.
171171
- `version`: The version set at initialization
172172
- `params`: Dynamic path parameters parsed from the path (see [path parameters](#path-parameters))
173173
- `method`: The HTTP method of the request
174-
- `path`: The path passed in by the request including `base` and `prefix`es
174+
- `path`: The path passed in by the request including the `base` and any `prefix` assigned to routes
175175
- `query`: Querystring parameters parsed into an object
176176
- `headers`: An object containing the request headers (properties converted to lowercase for HTTP/2, see [rfc7540 8.1.2. HTTP Header Fields](https://tools.ietf.org/html/rfc7540))
177177
- `rawHeaders`: An object containing the original request headers (property case preserved)
178178
- `body`: The body of the request.
179-
- If the `Content-Type` header is `application/json`, it will attempt to parse the request using `JSON.parse()`
180-
- If the `Content-Type` header is `application/x-www-form-urlencoded`, it will attempt to parse a URL encoded string using `querystring`
181-
- Otherwise it will be plain text.
179+
- If the `Content-Type` header is `application/json`, it will attempt to parse the request using `JSON.parse()`
180+
- If the `Content-Type` header is `application/x-www-form-urlencoded`, it will attempt to parse a URL encoded string using `querystring`
181+
- Otherwise it will be plain text.
182182
- `route`: The matched route of the request
183183
- `requestContext`: The `requestContext` passed from the API Gateway
184184
- `namespace` or `ns`: A reference to modules added to the app's namespace (see [namespaces](#namespaces))

0 commit comments

Comments
 (0)