adds a reference about empty request body and Content-Length header fix, closes #60.

--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40842
This commit is contained in:
Daniel Grana 2009-02-10 18:27:59 +00:00
parent 8fdf06ed08
commit f43c58da1f
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ def create_factory(request, spider):
agent = request.headers.pop('user-agent', default_agent)
factory = HTTPClientFactory(url=url, # never pass unicode urls to twisted
method=request.method,
postdata=request.body or None,
postdata=request.body or None, # see http://dev.scrapy.org/ticket/60
headers=request.headers,
agent=agent,
cookies=request.cookies,