Skip to content

Instantly share code, notes, and snippets.

@SAPikachu
Created October 11, 2011 03:41
Show Gist options
  • Save SAPikachu/1277214 to your computer and use it in GitHub Desktop.
Save SAPikachu/1277214 to your computer and use it in GitHub Desktop.
def hack_httplib2_response():
original_init = httplib2.Response.__init__
def hacked_init(self, info):
self["_original_response"] = info
original_init(self, info)
httplib2.Response.__init__ = hacked_init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment