From 7ba130a0cb66c94eae2604a4a59d55d4be9f2713 Mon Sep 17 00:00:00 2001 From: Andrew Widdersheim Date: Tue, 26 May 2015 09:16:24 -0400 Subject: [PATCH] Docs: Add more section labels for referencing Allows for sections to be linked from other projects using Intersphinx. --- docs/user/advanced.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index a2fe653b..5b0d61cd 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -448,6 +448,8 @@ To use HTTP Basic Auth with your proxy, use the `http://user:password@host/` syn Note that proxy URLs must include the scheme. +.. _compliance: + Compliance ---------- @@ -474,6 +476,8 @@ specification in this case. If you require a different encoding, you can manually set the :attr:`Response.encoding ` property, or use the raw :attr:`Response.content `. +.. _http-verbs: + HTTP Verbs ---------- @@ -647,6 +651,8 @@ headers. Excellent. Time to write a Python program that abuses the GitHub API in all kinds of exciting ways, 4995 more times. +.. _link-headers: + Link Headers ------------ @@ -669,6 +675,8 @@ Requests will automatically parse these link headers and make them easily consum >>> r.links["last"] {'url': 'https://api.github.com/users/kennethreitz/repos?page=7&per_page=10', 'rel': 'last'} +.. _transport-adapters: + Transport Adapters ------------------ @@ -737,6 +745,8 @@ SSLv3: .. _`described here`: http://www.kennethreitz.org/essays/the-future-of-python-http .. _`urllib3`: https://github.com/shazow/urllib3 +.. _blocking-or-nonblocking: + Blocking Or Non-Blocking? ------------------------- @@ -754,6 +764,8 @@ Two excellent examples are `grequests`_ and `requests-futures`_. .. _`grequests`: https://github.com/kennethreitz/grequests .. _`requests-futures`: https://github.com/ross/requests-futures +.. _timeouts: + Timeouts -------- @@ -792,6 +804,8 @@ coffee. .. _`connect()`: http://linux.die.net/man/2/connect +.. _ca-certificates: + CA Certificates ---------------