summaryrefslogtreecommitdiff
path: root/requests/adapters.py
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2013-07-23 10:51:15 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2013-07-23 16:55:27 +0900
commit9e771aa79cc3cdf2b625b31148247c05efdf4edd (patch)
tree0b367b2e0179650f7d286c517346a99c51836ae6 /requests/adapters.py
parent66de6b528d268816d8c4e21a29939b75e8e5c369 (diff)
downloadpython-requests-9e771aa79cc3cdf2b625b31148247c05efdf4edd.tar.gz
Fix test cases that fail when running behind a proxy
When sending a request via `Session.send()` the proxies must be explicitly given with the `proxies` argument. This is not done in the test cases, which means that they fail when run on a system that is behind a proxy. Update test cases to make sure the proxies are set in the sessions.
Diffstat (limited to 'requests/adapters.py')
-rw-r--r--requests/adapters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/requests/adapters.py b/requests/adapters.py
index 7b4916ca..7e65c78e 100644
--- a/requests/adapters.py
+++ b/requests/adapters.py
@@ -214,7 +214,7 @@ class HTTPAdapter(BaseAdapter):
If the message is being sent through a proxy, the full URL has to be
used. Otherwise, we should only use the path portion of the URL.
- This shoudl not be called from user code, and is only exposed for use
+ This should not be called from user code, and is only exposed for use
when subclassing the
:class:`HTTPAdapter <requests.adapters.HTTPAdapter>`.