Skip to content

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

doc; removed referer argument from Request constructor

Pablo Hoffman604af8e74f59
diff --git a/scrapy/trunk/docs/ref/request-response.rst b/scrapy/trunk/docs/ref/request-response.rst
index 6c5c6de3a..8c6a5b955 100644
--- a/scrapy/trunk/docs/ref/request-response.rst
+++ b/scrapy/trunk/docs/ref/request-response.rst
@@ -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