diff options
author | Andrey Petrov <andrey.petrov@shazow.net> | 2015-12-29 12:28:22 -0800 |
---|---|---|
committer | Andrey Petrov <andrey.petrov@shazow.net> | 2015-12-29 12:28:22 -0800 |
commit | 27df29b1d94d6c50af1eb1bd85b4ee12adf8a3c2 (patch) | |
tree | 97731a22ac7f5344402f24ebf4f2a9039b339ef7 /urllib3/exceptions.py | |
parent | 12d04b7cc8cefce176f5788485db7b0692b9adb2 (diff) | |
parent | c3104c8c42dc8426d0ac17fdcb07d8b3126fe7b6 (diff) | |
download | urllib3-1.14.tar.gz |
Merging new release version: 1.141.14
Diffstat (limited to 'urllib3/exceptions.py')
-rw-r--r-- | urllib3/exceptions.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/urllib3/exceptions.py b/urllib3/exceptions.py index 8e07eb61..f2e65917 100644 --- a/urllib3/exceptions.py +++ b/urllib3/exceptions.py @@ -180,6 +180,14 @@ class SNIMissingWarning(HTTPWarning): pass +class DependencyWarning(HTTPWarning): + """ + Warned when an attempt is made to import a module with missing optional + dependencies. + """ + pass + + class ResponseNotChunked(ProtocolError, ValueError): "Response needs to be chunked in order to read it as chunks." pass |