mirror of https://github.com/scrapy/scrapy.git
Explicitly indicate None as ip_address’s default value
This commit is contained in:
parent
13ba9bc629
commit
037ae5b22e
|
|
@ -685,8 +685,10 @@ Response objects
|
|||
.. attribute:: Response.ip_address
|
||||
|
||||
The IP address of the server from which the Response originated.
|
||||
|
||||
This attribute is currently only populated by the HTTP 1.1 download
|
||||
handler, i.e. for ``http(s)`` responses.
|
||||
handler, i.e. for ``http(s)`` responses. For other handlers,
|
||||
:attr:`ip_address` is always ``None``.
|
||||
|
||||
.. method:: Response.copy()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue