Commit Graph

25 Commits

Author SHA1 Message Date
Ian Cordasco 07e0a6198d Explicitly check for None 2014-01-28 20:39:09 -06:00
Ian Cordasco c2fab5b4ca Avoid having to fix tests 2014-01-28 20:24:41 -06:00
Ian Cordasco 27eb54a20a Move creation of attributes to RequestException
Pass request objects in HTTPAdapter
2014-01-28 20:13:57 -06:00
Cory Benfield 4862d29a96 Make ContentDecodingError a subclass.
This should avoid the user having to worry about the new exception.
2014-01-09 19:08:58 +00:00
daftshady aad828704d Re-raise DecodeError 2013-12-19 18:02:56 +09:00
Graham Dumpleton 4291f76c99 Translate urllib3 ProxyError into a requests ProxyError derived from ConnectionError. 2013-10-04 16:07:11 +10:00
Cory Benfield 3bc01eed6f RequestException subclasses IOError. 2013-08-17 07:17:03 +01:00
Cory Benfield 79f3e69f5e Wrap IncompleteRead in ChunkedEncodingError. 2013-07-28 07:42:17 +01:00
Dmitry Medvinsky c4f9340fb4 Add ability to pass response to HTTPError()
Just a little refactoring, but it seems nicer to me to be able to pass
the response when constructing the `HTTPError` instance instead of
constructing it and then changing the member variable.
2013-03-03 10:05:42 +04:00
Locker537 42d0a2169e Whitespace fixes following PEP8. 2012-08-16 17:38:35 -04:00
Michael Edwards 51f7628078 Removed extra whitespace 2012-05-13 11:59:31 +02:00
Chris Dary 3a2eaa67a2 A get with an invalid port should wrap urllib3's LocationParseError exception with our own. 2012-04-12 12:35:34 -04:00
Adam McKerlie d24ee0e1dc Created MissingSchema and InvalidSchema which inherits from RequestException and ValueError 2012-03-25 11:03:36 -04:00
Kenneth Reitz 0a1e527aec Merge of maxcountryman 2012-03-09 08:51:03 -08:00
Kenneth Reitz 58bf158840 RuntimeError 2012-02-15 01:46:06 -05:00
Kenneth Reitz 9a1a4136ac new SSLError 2011-12-28 02:43:03 -05:00
Nick Hatch a6412b02ba Fix spelling errors, typos. 2011-12-11 01:58:55 -06:00
Kenneth Reitz 1d2abea94b new ConnectionError for bad APIs :) 2011-11-09 15:30:47 -08:00
Kenneth Reitz a548b6249d HTTPError 2011-10-23 18:27:54 -04:00
Kenneth Reitz e007a5a13f docstring 2011-10-22 19:27:44 -04:00
Kenneth Reitz dbf70fc40f All methods are valid now 2011-10-22 18:02:34 -04:00
travis 055f7c1eb6 Some Doc and doctoring fixes by the Speling Poleece. 2011-10-19 10:00:13 -05:00
Jérémy Bethmont e7e395549f Handle too many redirects. 2011-08-09 17:28:58 +02:00
Johannes ef81c16611 Fix typos 2011-05-20 18:34:43 +02:00
Johannes c8cc2d0421 Relocate exceptions 2011-05-20 18:20:17 +02:00