summaryrefslogtreecommitdiff
path: root/requests/exceptions.py
diff options
context:
space:
mode:
authorNate Prewitt <Nate.Prewitt@gmail.com>2018-04-07 15:11:00 -0700
committerNate Prewitt <Nate.Prewitt@gmail.com>2018-04-07 15:11:00 -0700
commitc7cea32304c05ef5890bcb8941edc8b6fbe04a03 (patch)
tree7a5d670da7f5b7a8403537f2099435ce2407194e /requests/exceptions.py
parent9c6bd54b44c0b05c6907522e8d9998a87b69c1cd (diff)
parentb66908e7b647689793e299edc111bf9910e93ad3 (diff)
downloadpython-requests-updating_3.0.0.tar.gz
Merge remote-tracking branch 'upstream/master' into updating_3.0.0updating_3.0.0
Diffstat (limited to 'requests/exceptions.py')
-rw-r--r--requests/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/requests/exceptions.py b/requests/exceptions.py
index ebf4cc34..1c61bf87 100644
--- a/requests/exceptions.py
+++ b/requests/exceptions.py
@@ -85,6 +85,10 @@ class InvalidHeader(RequestException, ValueError):
"""The header value provided was somehow invalid."""
+class InvalidProxyURL(InvalidURL):
+ """The proxy URL provided is invalid."""
+
+
class ChunkedEncodingError(RequestException):
"""The server declared chunked encoding but sent an invalid chunk."""