mirror of https://github.com/scrapy/scrapy.git
Fixed wording of documentation
This commit is contained in:
parent
bfe28ae707
commit
fd016ee71b
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue