mamaduckmaster / httplib2

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

Response object's reason is always "Ok" on Google App Engine #218

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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 8 years ago
Codereview: http://codereview.appspot.com/6422051/

Original comment by ala...@google.com on 19 Jul 2012 at 6:45

GoogleCodeExporter commented 8 years ago
Fixed in revision fa8982bd19a2570da5e93dc424dbe49b037962d3

Original comment by ala...@google.com on 23 Jul 2012 at 9:54