summaryrefslogtreecommitdiff
path: root/docs/ref/request-response.txt
diff options
context:
space:
mode:
authorI am Clinton <garwoodpr@users.noreply.github.com>2015-05-16 22:04:52 -0500
committerTim Graham <timograham@gmail.com>2015-05-18 09:45:33 -0400
commite4f0e5a981e1965bd6b6b5d51f87499fa5f780b3 (patch)
treeac098a396d2d168971f1da0fdb6fe9713c037091 /docs/ref/request-response.txt
parent7b027c463e83f4397dd1a64a4993193c5eb39a51 (diff)
Fixed typos in docs/ref/request-response.txt
Diffstat (limited to 'docs/ref/request-response.txt')
-rw-r--r--docs/ref/request-response.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
index 1a5dd68644..eba47005a8 100644
--- a/docs/ref/request-response.txt
+++ b/docs/ref/request-response.txt
@@ -49,7 +49,7 @@ All attributes should be considered read-only, unless stated otherwise below.
.. attribute:: HttpRequest.path
A string representing the full path to the requested page, not including
- the domain.
+ the scheme or domain.
Example: ``"/music/bands/the_beatles/"``
@@ -322,7 +322,7 @@ Methods
Methods implementing a file-like interface for reading from an
HttpRequest instance. This makes it possible to consume an incoming
request in a streaming fashion. A common use-case would be to process a
- big XML payload with iterative parser without constructing a whole
+ big XML payload with an iterative parser without constructing a whole
XML tree in memory.
Given this standard interface, an HttpRequest instance can be
@@ -464,7 +464,7 @@ In addition, ``QueryDict`` has the following methods:
Returns the data with the requested key, as a Python list. Returns an
empty list if the key doesn't exist and no default value was provided.
It's guaranteed to return a list of some sort unless the default value
- was no list.
+ provided is not a list.
.. method:: QueryDict.setlist(key, list_)
@@ -746,7 +746,7 @@ Methods
header. It is not part of the :rfc:`2109` standard for cookies,
and it isn't honored consistently by all browsers. However,
when it is honored, it can be a useful way to mitigate the
- risk of client side script accessing the protected cookie
+ risk of a client-side script from accessing the protected cookie
data.
.. _HTTPOnly: https://www.owasp.org/index.php/HTTPOnly