We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0254854 commit 2773ca7Copy full SHA for 2773ca7
docs/http.rst
@@ -58,8 +58,8 @@ Your ``CustomHTTPClient`` class might look something like this:
58
method_whitelist=["HEAD", "GET", "OPTIONS"],
59
)
60
http_adapter = HTTPAdapter(max_retries=retry_strategy)
61
- session.mount('https://', adapter)
62
- session.mount('http://', adapter)
+ session.mount('https://', http_adapter)
+ session.mount('http://', http_adapter)
63
64
return session
65
0 commit comments