diff --git a/docs/usage/advanced_usage.rst b/docs/usage/advanced_usage.rst index 74246f3..db36301 100644 --- a/docs/usage/advanced_usage.rst +++ b/docs/usage/advanced_usage.rst @@ -102,8 +102,8 @@ Here is an example of sending the request through proxies: client_args = { 'proxies': { - 'http': '10.0.10.1:8000', - 'https': '10.0.10.1:8001', + 'http': 'http://10.0.10.1:8000', + 'https': 'https://10.0.10.1:8001', } } @@ -122,8 +122,8 @@ or both (and set a timeout variable): 'User-Agent': 'My App Name' }, 'proxies': { - 'http': '10.0.10.1:8000', - 'https': '10.0.10.1:8001', + 'http': 'http://10.0.10.1:8000', + 'https': 'https://10.0.10.1:8001', } 'timeout': 300, }