From 704a922fc2d77bbc1b24fe2a02ad6876bdc16d5c Mon Sep 17 00:00:00 2001 From: Jason Grout Date: Fri, 4 Sep 2015 22:55:38 +0000 Subject: [PATCH] Clarify documentation for per-host proxies Make sure it's clear that a per-host proxy matches a scheme and exact hostname. --- docs/user/advanced.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index c0e6aabc..3b060a0e 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -483,7 +483,10 @@ To use HTTP Basic Auth with your proxy, use the `http://user:password@host/` syn } To give a proxy for a specific scheme and host, use the -`scheme://host` form for the key:: +`scheme://hostname` form for the key. This will match for +any request to the given scheme and exact hostname. + +:: proxies = { "http://10.20.1.128": "http://10.10.1.10:5323",