Closed GoogleCodeExporter closed 9 years ago
You can get access to the full body of the response by wrapping the httplib2
request in a closure that will see the full request/response. There are some
examples included in the client library, see set_user_agent or tunnel_patch:
http://google-api-python-client.googlecode.com/hg/docs/epy/apiclient.http-module
.html#set_user_agent
Here is patch to the Google+ sample that does just that, printing out the full
exchange response:
https://codereview.appspot.com/6856053/diff/1/samples/plus/plus.py
Original comment by jcgregorio@google.com
on 16 Nov 2012 at 9:15
Original issue reported on code.google.com by
yorinasu...@gmail.com
on 16 Nov 2012 at 2:02