__init__.py | 82 __all__ = ['Http', 'Response', 'ProxyInfo', 'HttpLib2Error', 114 def __init__(self, desc, response, content): 115 self.response = response 153 def _get_end2end_headers(response): 155 hopbyhop.extend([x.strip() for x in response.get('connection', '').split(',')]) 156 return [header for header in response.keys() if header not in hopbyhop] 343 def _decompressContent(response, new_content): 346 encoding = response.get('content-encoding', None) 352 response['content-length'] = str(len(content) 436 def response(self, response, content): member in class:Authentication 499 def response(self, response, content): member in class:DigestAuthentication 570 def response(self, response, content): member in class:HmacDigestAuthentication [all...] |