|
Let us walk on the 3-isogeny graph
|
Functions | |
| _init () | |
Variables | |
| dict | _codes |
| codes = LookupDict(name="status_codes") | |
The ``codes`` object defines a mapping from common names for HTTP statuses
to their numerical codes, accessible either as attributes or as dictionary
items.
Example::
>>> import requests
>>> requests.codes['temporary_redirect']
307
>>> requests.codes.teapot
418
>>> requests.codes['\o/']
200
Some codes have multiple names, and both upper- and lower-case versions of
the names are allowed. For example, ``codes.ok``, ``codes.OK``, and
``codes.okay`` all correspond to the HTTP status code 200.
|
protected |
Definition at line 109 of file status_codes.py.
References pip._vendor.requests.status_codes._init(), and i.
Referenced by pip._vendor.requests.status_codes._init().


|
protected |
Definition at line 23 of file status_codes.py.
| codes = LookupDict(name="status_codes") |
Definition at line 106 of file status_codes.py.