Closed GoogleCodeExporter closed 8 years ago
This is a problem for me too, but the workaround of using resp.previous seems
to work for now (thanks!).
The behavior I see is that 'content-location' is sometimes set and sometimes
not, but I haven't determined a pattern yet.
Original comment by joshseg...@gmail.com
on 4 Jan 2011 at 5:26
Just a +1 here, I ran into this issue as well.
Original comment by umb...@gmail.com
on 30 Mar 2011 at 3:56
If I'm not mistaken the fix for this should be very simple, in init.py these
lines:
elif response.status in [200, 203] and method == "GET":
# Don't cache 206's since we aren't going to handle byte range requests
if not response.has_key('content-location'):
response['content-location'] = absolute_uri
Just need to change to this:
elif response.status in [200, 203] and method in ["GET", "HEAD"]:
# Don't cache 206's since we aren't going to handle byte range requests
if not response.has_key('content-location'):
response['content-location'] = absolute_uri
Original comment by umb...@gmail.com
on 30 Mar 2011 at 3:57
Original comment by joe.gregorio@gmail.com
on 13 Jun 2011 at 5:42
Original issue reported on code.google.com by
cmlenz
on 28 Feb 2008 at 8:12