masperro / httplib2

Automatically exported from code.google.com/p/httplib2
0 stars 0 forks source link

Response.previous points to first response instead of previous #108

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. resp, _ = Http().request('http://ow.ly/2tuRZ')

Expected:
resp.previous['content-location'] == 'http://www.facebook.com/Stoli'
Instead got:
resp.previous['content-location'] == 'http://ow.ly/2tuRZ'

Original issue reported on code.google.com by rna...@gmail.com on 24 Aug 2010 at 6:33

GoogleCodeExporter commented 8 years ago
Here's a patch that applies to 0.6.0

Original comment by rna...@gmail.com on 24 Aug 2010 at 6:49

Attachments:

GoogleCodeExporter commented 8 years ago
The previous links go backward in the request chain, it is working as designed.

Original comment by joe.gregorio@gmail.com on 15 Feb 2011 at 4:41