From 9677158b75e9091578fd58f4a695d622c8f1ad79 Mon Sep 17 00:00:00 2001 From: Matt Fox Date: Wed, 17 Jan 2018 07:31:39 -0800 Subject: [PATCH] Add request.method to documentation --- docs/sanic/request_data.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/sanic/request_data.md b/docs/sanic/request_data.md index 4f6bc970..a91dd970 100644 --- a/docs/sanic/request_data.md +++ b/docs/sanic/request_data.md @@ -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. +- `method` (str) - HTTP method of the request (ie `GET`, `POST`). + - `ip` (str) - IP address of the requester. - `port` (str) - Port address of the requester.