From 604af8e74f599efbc96cd44a2447f9fdd78b56d8 Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Thu, 15 Jan 2009 00:20:24 +0000 Subject: [PATCH] doc; removed referer argument from Request constructor --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40732 --- scrapy/trunk/docs/ref/request-response.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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