diff --git a/docs/http.rst b/docs/http.rst index e0330801..652d1025 100644 --- a/docs/http.rst +++ b/docs/http.rst @@ -58,8 +58,8 @@ Your ``CustomHTTPClient`` class might look something like this: method_whitelist=["HEAD", "GET", "OPTIONS"], ) http_adapter = HTTPAdapter(max_retries=retry_strategy) - session.mount('https://', adapter) - session.mount('http://', adapter) + session.mount('https://', http_adapter) + session.mount('http://', http_adapter) return session