Skip to content
Myr

Fix API documentation issues

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* 'Cookies' and 'Encodings' sections were not built because the reference to the functions was wrong. * 'Exceptions' section had a wrong anchor link ('module-requests', same one as the main heading). * Remove 'decode_gzip' function, which is no longer present.

authored by amercader · committed by amercader · parent ab36f3c · Browse files · 1 file+11 added−14 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+11 added−14 removed

  • other:+11 added−14 removed

1 file+11 added−14 removed

modified:docs/api.rst+11 added-14 removed
46 unmodified lines
4748Exceptions49~~~~~~~~~~5051.. module:: requests51.. autoexception:: requests.exceptions.RequestException52.. autoexception:: requests.exceptions.ConnectionError53.. autoexception:: requests.exceptions.HTTPError54.. autoexception:: requests.exceptions.URLRequired55.. autoexception:: requests.exceptions.TooManyRedirects5653.. autoexception:: RequestException54.. autoexception:: ConnectionError55.. autoexception:: HTTPError56.. autoexception:: URLRequired57.. autoexception:: TooManyRedirects575958Status Code Lookup59~~~~~~~~~~~~~~~~~~6061.. autofunction:: requests.codes
11 unmodified lines
7374Cookies75~~~~~~~7679.. autofunction:: dict_from_cookiejar80.. autofunction:: cookiejar_from_dict81.. autofunction:: add_dict_to_cookiejar77.. autofunction:: requests.utils.dict_from_cookiejar78.. autofunction:: requests.utils.cookiejar_from_dict79.. autofunction:: requests.utils.add_dict_to_cookiejar808182Encodings83~~~~~~~~~8487.. autofunction:: get_encodings_from_content88.. autofunction:: get_encoding_from_headers89.. autofunction:: get_unicode_from_response90.. autofunction:: decode_gzip85.. autofunction:: requests.utils.get_encodings_from_content86.. autofunction:: requests.utils.get_encoding_from_headers87.. autofunction:: requests.utils.get_unicode_from_response888990Classes91~~~~~~~
103 unmodified lines