send Referer headers by default
This commit is contained in:
@@ -565,6 +565,21 @@ Description
|
||||
browser would use HTTP/2.
|
||||
|
||||
|
||||
extractor.*.referer
|
||||
-------------------
|
||||
Type
|
||||
* ``bool``
|
||||
* ``string``
|
||||
Default
|
||||
``true``
|
||||
Description
|
||||
Send `Referer <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer>`__
|
||||
headers with all outgoing HTTP requests.
|
||||
|
||||
If this is a ``string``, send it as Referer
|
||||
instead of the extractor's ``root`` domain.
|
||||
|
||||
|
||||
extractor.*.headers
|
||||
-------------------
|
||||
Type
|
||||
@@ -576,7 +591,8 @@ Default
|
||||
"User-Agent" : "<extractor.*.user-agent>",
|
||||
"Accept" : "*/*",
|
||||
"Accept-Language": "en-US,en;q=0.5",
|
||||
"Accept-Encoding": "gzip, deflate"
|
||||
"Accept-Encoding": "gzip, deflate",
|
||||
"Referer" : "<extractor.*.referer>"
|
||||
}
|
||||
|
||||
Description
|
||||
|
||||
Reference in New Issue
Block a user