mirror of https://github.com/scrapy/scrapy.git
fixed bug in copy method of Response (tests coming soon)
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40687
This commit is contained in:
parent
5cb9f344ac
commit
c601bbb083
|
|
@ -80,8 +80,8 @@ class Response(object) :
|
|||
kw.get('url', self.url),
|
||||
original_url=kw.get('original_url', self.original_url),
|
||||
headers=kw.get('headers', sameheaders()),
|
||||
status=kw.get('status', self.status),
|
||||
body=kw.get('body', samebody()))
|
||||
status=kw.get('status', self.status))
|
||||
newresp.body = kw.get('body', samebody())
|
||||
return newresp
|
||||
|
||||
def to_string(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue