Skip to content
Myr

Docs: Add more section labels for referencing

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

Allows for sections to be linked from other projects using Intersphinx.

authored by Andrew Widdersheim · committed by Andrew Widdersheim · parent dfdf371 · Browse files · 1 file+14 added−0 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+14 added−0 removed

  • other:+14 added−0 removed

1 file+14 added−0 removed

modified:docs/user/advanced.rst+14 added
446 unmodified lines
447 }448449Note that proxy URLs must include the scheme.450451.. _compliance:452453Compliance454----------455456Requests is intended to be compliant with all relevant specifications and
18 unmodified lines
475specification in this case. If you require a different encoding, you can476manually set the :attr:`Response.encoding <requests.Response.encoding>`477property, or use the raw :attr:`Response.content <requests.Response.content>`.478479.. _http-verbs:480481HTTP Verbs482----------483484Requests provides access to almost the full range of HTTP verbs: GET, OPTIONS,
165 unmodified lines
650651Excellent. Time to write a Python program that abuses the GitHub API in all652kinds of exciting ways, 4995 more times.653654.. _link-headers:655656Link Headers657------------658659Many HTTP APIs feature Link headers. They make APIs more self describing and
14 unmodified lines
674675 >>> r.links["last"]676 {'url': 'https://api.github.com/users/kennethreitz/repos?page=7&per_page=10', 'rel': 'last'}677678.. _transport-adapters:679680Transport Adapters681------------------682683As of v1.0.0, Requests has moved to a modular internal design. Part of the
60 unmodified lines
744745.. _`described here`: http://www.kennethreitz.org/essays/the-future-of-python-http746.. _`urllib3`: https://github.com/shazow/urllib3747748.. _blocking-or-nonblocking:749750Blocking Or Non-Blocking?751-------------------------752753With the default Transport Adapter in place, Requests does not provide any kind
9 unmodified lines
763764.. _`grequests`: https://github.com/kennethreitz/grequests765.. _`requests-futures`: https://github.com/ross/requests-futures766767.. _timeouts:768769Timeouts770--------771772Most requests to external servers should have a timeout attached, in case the
30 unmodified lines
803 r = requests.get('https://github.com', timeout=None)804805.. _`connect()`: http://linux.die.net/man/2/connect806807.. _ca-certificates:808809CA Certificates810---------------811812By default Requests bundles a set of root CAs that it trusts, sourced from the
13 unmodified lines