mirror of https://github.com/scrapy/scrapy.git
doc; removed referer argument from Request constructor
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40732
This commit is contained in:
parent
2a7b41cdb2
commit
604af8e74f
|
|
@ -41,7 +41,7 @@ Attributes
|
|||
Methods
|
||||
-------
|
||||
|
||||
.. method:: Request.__init__(url, callback=None, context=None, method=None, body=None, headers=None, cookies=None, referer=None, url_encoding='utf-8', link_text='', dont_filter=None)
|
||||
.. method:: Request.__init__(url, callback=None, context=None, method='GET', body=None, headers=None, cookies=None, url_encoding='utf-8', link_text='', dont_filter=None)
|
||||
|
||||
Instantiates a ``Request`` object with the given arguments:
|
||||
|
||||
|
|
@ -62,8 +62,6 @@ Methods
|
|||
|
||||
``cookies`` is dict of the request cookies
|
||||
|
||||
``referer`` is a string with the referer of this request
|
||||
|
||||
``url_encoding`` is a string with the encoding of the url of this request.
|
||||
The request URL will be percent encoded using this encoding before
|
||||
downloading
|
||||
|
|
|
|||
Loading…
Reference in New Issue