Response object's reason is always "Ok" on Google App Engine
Closed this issue · 2 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Call httplib2.Http.request on Google App Engine.
2. Check the response's HTTP reason.
3. The HTTP reason is always "Ok" regardless of the status code (e.g 400, 401,
etc.)
What is the expected output? What do you see instead?
The reason should match the status code. This is due to Google App Engine's
urlfetch function not returning a reason.
A easy fix is attached to this issue.
Please use labels and text to provide additional information.
Original issue reported on code.google.com by ala...@google.com
on 16 Jul 2012 at 4:02
Attachments:
GoogleCodeExporter commented
Codereview: http://codereview.appspot.com/6422051/
Original comment by ala...@google.com
on 19 Jul 2012 at 6:45
GoogleCodeExporter commented
Fixed in revision fa8982bd19a2570da5e93dc424dbe49b037962d3
Original comment by ala...@google.com
on 23 Jul 2012 at 9:54
- Changed state: Fixed