Fixed wording of documentation

This commit is contained in:
bopace 2016-10-18 09:37:45 -06:00
parent bfe28ae707
commit fd016ee71b
1 changed files with 4 additions and 4 deletions

View File

@ -508,10 +508,10 @@ Response objects
.. attribute:: Response.headers
A dictionary-like object which contains the response headers. Values can
be accessed from the :class:`headers` object by using :meth:`get` to
return the first header value with the specified name or :meth:`getlist`
to return all header values with the specified name. For example, this
call will give you all cookies in the headers::
be accessed using :meth:`get` to return the first header value with the
specified name or :meth:`getlist` to return all header values with the
specified name. For example, this call will give you all cookies in the
headers::
response.headers.getlist('Set-Cookie')