Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIn Str Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad body Assign AttributeStore NameLoad attr NameLoad TryExcept body Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr CompareIn Str Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Assert BoolOpOr AttributeLoad NameLoad attr CompareIsNot AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareIn Str Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd Num AttributeLoad NameLoad attr orelse If CompareIn Str Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad body Assign AttributeStore NameLoad attr Call NameLoad orelse Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Return Str If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad orelse Raise Call NameLoad Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore ListLoad While CompareGt NameLoad Num body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr If UnaryOpNot NameLoad body If BoolOpOr CompareIsNot AttributeLoad NameLoad attr NameLoad UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr keyword NameLoad Raise Call NameLoad Str Break AugAssignSub NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body AugAssignSub AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore BoolOpOr CompareEq AttributeLoad NameLoad attr Num BoolOpAnd AttributeLoad NameLoad attr CompareLt Call NameLoad NameLoad NameLoad If BoolOpAnd NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd NameLoad AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareIs AttributeLoad NameLoad attr NameLoad body Return While NameLoad body Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr Num Assign NameStore Str If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Break While CompareGt NameLoad Num body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr AugAssignAdd NameStore NameLoad AugAssignSub NameStore Call NameLoad NameLoad Assert CompareEq NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Yield NameLoad Return decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If BoolOpAnd NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad While NameLoad body TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num attr If UnaryOpNot NameLoad body Break handlers ExceptHandler type NameLoad body Break orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignAdd NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Return BinOpAdd AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad AttributeLoad NameLoad attr While CompareLt NameLoad NameLoad body TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Break AugAssignAdd NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Slice NameLoad Return SubscriptLoad NameLoad Slice NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A 
hyper/http11/response
~~~~~~~~~~~~~~~~~~~~~

Contains the HTTP/1.1 equivalent of the HTTPResponse object defined in
httplib/http.client.
 N/A logging N/A weakref N/A zlib common.decoder DeflateDecoder common.exceptions ChunkedDecodeError InvalidResponseError common.exceptions ConnectionResetError N/A log N/A N/A logging getLogger __name__ HTTP11Response N/A object N/A N/A 
    An ``HTTP11Response`` wraps the HTTP/1.1 response from the server. It
    provides access to the response headers and the entity body. The response
    is an iterable object and can be used in a with statement.
     __init__ N/A N/A self code reason headers sock connection N/A None N/A N/A N/A self reason reason N/A N/A self status code N/A N/A self headers headers N/A N/A self trailers None N/A N/A self _sock sock N/A N/A self _expect_close False N/A N/A close N/A N/A N/A self headers get connection N/A N/A N/A N/A self _expect_close True N/A N/A N/A N/A self _length N/A int N/A N/A N/A self headers N/A content-length N/A 0 N/A N/A N/A KeyError N/A N/A N/A self _length None N/A N/A self _chunked N/A chunked N/A N/A N/A self headers get transfer-encoding N/A N/A N/A N/A self _expect_close N/A N/A self _length None N/A self _chunked N/A N/A gzip N/A N/A N/A self headers get content-encoding N/A N/A N/A N/A self _decompressobj N/A N/A zlib decompressobj N/A 16 N/A zlib MAX_WBITS N/A N/A N/A deflate N/A N/A N/A self headers get content-encoding N/A N/A N/A N/A self _decompressobj N/A DeflateDecoder N/A N/A N/A self _decompressobj None N/A N/A connection None N/A N/A N/A self _parent N/A N/A weakref ref connection N/A N/A N/A self _parent None N/A N/A self _buffered_data N/A N/A self _chunker None N/A read N/A N/A self amt decode_content N/A None True N/A N/A 
        Reads the response body, or up to the next ``amt`` bytes.

        :param amt: (optional) The amount of data to read. If not provided, all
            the data will be read from the response.
        :param decode_content: (optional) If ``True``, will transparently
            decode the response data.
        :returns: The read data. Note that if ``decode_content`` is set to
            ``True``, the actual amount of data returned may be different to
            the amount requested.
         N/A N/A N/A self _sock None N/A N/A N/A N/A self _chunked N/A N/A N/A N/A self _normal_read_chunked amt decode_content N/A N/A amt None N/A N/A N/A N/A self _length None N/A N/A amt N/A self _length N/A N/A N/A self _expect_close N/A N/A N/A N/A self _read_expect_closed decode_content N/A N/A N/A InvalidResponseError Response must either have length or Connection: close N/A N/A N/A self _length None N/A N/A amt N/A min amt N/A self _length N/A to_read amt N/A chunks N/A N/A N/A to_read 0 N/A N/A chunk N/A N/A N/A N/A N/A self _sock recv amt tobytes N/A N/A chunk N/A N/A N/A N/A N/A self _length None N/A N/A self _expect_close N/A N/A N/A N/A self close socket_close True N/A N/A ConnectionResetError Remote end hung up! N/A N/A to_read N/A len chunk N/A N/A N/A chunks append chunk N/A data N/A N/A join chunks N/A N/A N/A self _length None N/A N/A N/A self _length N/A len data N/A end_of_request N/A N/A N/A self _length 0 N/A N/A self _expect_close N/A N/A len data amt N/A N/A decode_content N/A self _decompressobj data N/A N/A data N/A N/A N/A self _decompressobj decompress data N/A N/A decode_content N/A self _decompressobj end_of_request N/A N/A data N/A N/A N/A self _decompressobj flush N/A end_of_request N/A N/A N/A N/A self close socket_close N/A self _expect_close N/A data N/A read_chunked N/A N/A self decode_content N/A True N/A N/A 
        Reads chunked transfer encoded bodies. This method returns a generator:
        each iteration of which yields one chunk *unless* the chunks are
        compressed, in which case it yields whatever the decompressor provides
        for each chunk.

        .. warning:: This may yield the empty string, without that being the
                     end of the body!
         N/A N/A N/A self _chunked N/A N/A N/A ChunkedDecodeError Attempted chunked read of non-chunked body. N/A N/A N/A self _sock None N/A N/A N/A True N/A N/A chunk_length N/A int N/A N/A N/A N/A N/A N/A N/A self _sock readline tobytes strip 16 N/A data N/A N/A chunk_length N/A N/A N/A N/A N/A self _sock readline N/A N/A decode_content N/A self _decompressobj N/A N/A N/A N/A N/A N/A self _decompressobj flush N/A N/A N/A self close socket_close N/A self _expect_close N/A N/A N/A chunk_length 0 N/A N/A chunk N/A N/A N/A N/A N/A self _sock recv chunk_length tobytes N/A data chunk N/A chunk_length N/A len chunk N/A N/A chunk_length 0 N/A N/A N/A N/A self _sock readline N/A N/A decode_content N/A self _decompressobj data N/A N/A data N/A N/A N/A self _decompressobj decompress data N/A N/A data N/A N/A close N/A N/A self socket_close N/A False N/A N/A 
        Close the response. This causes the Response to lose access to the
        backing socket. In some cases, it can also cause the backing connection
        to be torn down.

        :param socket_close: Whether to close the backing socket.
        :returns: Nothing.
         N/A N/A socket_close N/A N/A self _parent None N/A N/A parent N/A N/A self _parent N/A N/A parent None N/A N/A N/A N/A parent close N/A N/A self _sock None N/A _read_expect_closed N/A N/A self decode_content N/A N/A N/A 
        Implements the logic for an unbounded read on a socket that we expect
        to be closed by the remote end.
         N/A chunks N/A N/A True N/A N/A N/A N/A chunk N/A N/A N/A N/A N/A self _sock recv 65535 tobytes N/A N/A chunk N/A N/A N/A N/A N/A ConnectionResetError N/A N/A N/A N/A N/A N/A chunks append chunk N/A N/A N/A self close socket_close True N/A data N/A N/A join chunks N/A N/A decode_content N/A self _decompressobj N/A N/A data N/A N/A N/A self _decompressobj decompress data N/A data N/A N/A N/A self _decompressobj flush N/A data N/A _normal_read_chunked N/A N/A self amt decode_content N/A N/A N/A 
        Implements the logic for calling ``read()`` on a chunked response.
         N/A N/A amt None N/A N/A N/A N/A self _buffered_data N/A N/A join N/A N/A self read_chunked N/A N/A N/A self _chunker None N/A N/A N/A self _chunker N/A N/A self read_chunked N/A current_amount N/A len N/A self _buffered_data N/A extra_data N/A N/A self _buffered_data N/A N/A current_amount amt N/A N/A N/A N/A chunk N/A next N/A self _chunker N/A N/A N/A StopIteration N/A N/A N/A N/A self close socket_close N/A self _expect_close N/A N/A current_amount N/A len chunk N/A N/A N/A extra_data append chunk N/A data N/A N/A join extra_data N/A N/A self _buffered_data N/A data N/A amt N/A N/A data N/A amt N/A __enter__ N/A N/A self N/A N/A N/A self N/A __exit__ N/A N/A self N/A args N/A N/A N/A N/A self close N/A False N/A N/A