File: urllib3.response.rst

package info (click to toggle)
python-urllib3 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,340 kB
  • sloc: python: 26,167; makefile: 122; javascript: 92; sh: 11
file content (33 lines) | stat: -rw-r--r-- 788 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Response and Decoders
=====================

Response
--------

.. autoclass:: urllib3.response.BaseHTTPResponse
    :members:
    :undoc-members:
    :show-inheritance:

.. autoclass:: urllib3.response.HTTPResponse
    :members:
    :undoc-members:
    :show-inheritance:
    :inherited-members: json

    .. autoattribute:: auto_close
    .. autoattribute:: status
    .. autoattribute:: headers

Decoders
--------

Decoder classes are used for transforming compressed HTTP bodies
using the ``Content-Encoding`` into their uncompressed binary
representation.

.. autoclass:: urllib3.response.BrotliDecoder
.. autoclass:: urllib3.response.DeflateDecoder
.. autoclass:: urllib3.response.GzipDecoder
.. autoclass:: urllib3.response.ZstdDecoder
.. autoclass:: urllib3.response.MultiDecoder