Skip to content

Commit 34c13c8

Browse files
authored
Refer to current internet standards in docs on proxies (#3124)
1 parent a3e94f2 commit 34c13c8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/advanced-usage.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,31 +198,31 @@ urllib3's behavior will be different depending on your proxy and destination:
198198

199199
* HTTP proxy + HTTP destination
200200
Your request will be forwarded with the `absolute URI
201-
<https://tools.ietf.org/html/rfc7230#section-5.3.2>`_.
201+
<https://datatracker.ietf.org/doc/html/rfc9112#name-absolute-form>`_.
202202

203203
* HTTP proxy + HTTPS destination
204204
A TCP tunnel will be established with a `HTTP
205-
CONNECT <https://tools.ietf.org/html/rfc7231#section-4.3.6>`_. Afterward a
205+
CONNECT <https://datatracker.ietf.org/doc/html/rfc9110#name-connect>`_. Afterward a
206206
TLS connection will be established with the destination and your request
207207
will be sent.
208208

209209
* HTTPS proxy + HTTP destination
210210
A TLS connection will be established to the proxy and later your request
211211
will be forwarded with the `absolute URI
212-
<https://tools.ietf.org/html/rfc7230#section-5.3.2>`_.
212+
<https://datatracker.ietf.org/doc/html/rfc9110#name-connect>`_.
213213

214214
* HTTPS proxy + HTTPS destination
215215
A TLS-in-TLS tunnel will be established. An initial TLS connection will be
216216
established to the proxy, then an `HTTP CONNECT
217-
<https://tools.ietf.org/html/rfc7231#section-4.3.6>`_ will be sent to
217+
<https://datatracker.ietf.org/doc/html/rfc9110#name-connect>`_ will be sent to
218218
establish a TCP connection to the destination and finally a second TLS
219219
connection will be established to the destination. You can customize the
220220
:class:`ssl.SSLContext` used for the proxy TLS connection through the
221221
``proxy_ssl_context`` argument of the :class:`~poolmanager.ProxyManager`
222222
class.
223223

224224
For HTTPS proxies we also support forwarding your requests to HTTPS destinations with
225-
an `absolute URI <https://tools.ietf.org/html/rfc7230#section-5.3.2>`_ if the
225+
an `absolute URI <https://datatracker.ietf.org/doc/html/rfc9112#name-absolute-form>`_ if the
226226
``use_forwarding_for_https`` argument is set to ``True``. We strongly recommend you
227227
**only use this option with trusted or corporate proxies** as the proxy will have
228228
full visibility of your requests.

0 commit comments

Comments
 (0)