Scrapy, a fast high-level web crawling & scraping framework for Python.
Merge branch 'master' into response_ip_address
Eugenio Lacuesta1f2e2a600653
diff --cc docs/topics/request-response.rstindex 2f889280f,573efc05f..5eb4915cd--- a/docs/topics/request-response.rst+++ b/docs/topics/request-response.rst@@@ -709,17 -702,9 +705,17 @@@ Response objectA :class:`twisted.internet.ssl.Certificate` object representingthe server's SSL certificate.-+Only populated for ``https`` responses, ``None`` otherwise.+ .. 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. For other handlers,+ :attr:`ip_address` is always ``None``.+.. method:: Response.copy()Returns a new Response which is a copy of this Response.