Minor doc updates
authorDavid Pursehouse <david.pursehouse@gmail.com>
Fri, 4 Oct 2013 01:19:33 +0000 (10:19 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Fri, 4 Oct 2013 01:19:33 +0000 (10:19 +0900)
- Improve wording of sentence describing proxy environment
  variable setting.
- Mention that proxy URLs must include the scheme.

docs/user/advanced.rst

index 91d0ed859d0db66b747ccb72ad6346bfdb8524a0..86ab15358cf37e4f1cb05e1287ccbb93ab5dc28d 100644 (file)
@@ -305,7 +305,8 @@ If you need to use a proxy, you can configure individual requests with the
 
     requests.get("http://example.org", proxies=proxies)
 
-You can also configure proxies by environment variables ``HTTP_PROXY`` and ``HTTPS_PROXY``.
+You can also configure proxies by setting the environment variables
+``HTTP_PROXY`` and ``HTTPS_PROXY``.
 
 ::
 
@@ -321,6 +322,8 @@ To use HTTP Basic Auth with your proxy, use the `http://user:password@host/` syn
         "http": "http://user:pass@10.10.1.10:3128/",
     }
 
+Note that proxy URLs must include the scheme.
+
 Compliance
 ----------