Merge pull request #2328 from scrapy/download-latency-meta-docs

[MRG+1] Document `download_latency` meta key
This commit is contained in:
Mikhail Korobov 2016-11-14 21:24:14 +05:00 committed by GitHub
commit 570e12b5db
1 changed files with 10 additions and 0 deletions

View File

@ -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: