Merge pull request #1092 from mattfox/patch-1

Add request.method to documentation
This commit is contained in:
Raphael Deem 2018-01-17 16:10:42 -08:00 committed by GitHub
commit 06c3153d22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,6 +73,8 @@ The following variables are accessible as properties on `Request` objects:
- `headers` (dict) - A case-insensitive dictionary that contains the request headers. - `headers` (dict) - A case-insensitive dictionary that contains the request headers.
- `method` (str) - HTTP method of the request (ie `GET`, `POST`).
- `ip` (str) - IP address of the requester. - `ip` (str) - IP address of the requester.
- `port` (str) - Port address of the requester. - `port` (str) - Port address of the requester.