summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/request-response.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
index a4ed6a2645..57222c8ca7 100644
--- a/docs/ref/request-response.txt
+++ b/docs/ref/request-response.txt
@@ -32,6 +32,13 @@ Attributes
All attributes should be considered read-only, unless stated otherwise below.
``session`` is a notable exception.
+.. attribute:: HttpRequest.scheme
+
+ .. versionadded:: 1.7
+
+ A string representing the scheme of the request (``http`` or ``https``
+ usually).
+
.. attribute:: HttpRequest.body
The raw HTTP request body as a byte string. This is useful for processing