Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

document download_latency meta key

Valdir Stumm Junior7025d6656a12
diff --git a/docs/topics/request-response.rst b/docs/topics/request-response.rst
index 75b98d3b3..7e700c7cb 100644
--- a/docs/topics/request-response.rst
+++ b/docs/topics/request-response.rst
@@ -299,6 +299,7 @@ Those are:
* :reqmeta:`dont_obey_robotstxt`
* :reqmeta:`download_timeout`
* :reqmeta:`download_maxsize`
+* :reqmeta:`download_latency`
* :reqmeta:`proxy`
.. reqmeta:: bindaddress
@@ -316,6 +317,15 @@ download_timeout
The amount of time (in secs) that the downloader will wait before timing out.
See also: :setting:`DOWNLOAD_TIMEOUT`.
+.. reqmeta:: download_latency
+
+download_latency
+----------------
+
+The amount of time spent to fetch the response, since the request has been
+started, i.e. HTTP message sent over the network. This meta key only becomes
+available when the response has been downloaded. While most other meta keys are
+used to control Scrapy behavior, this one is supposed to be read-only.
.. _topics-request-response-ref-request-subclasses: