Searched refs:HTTPException (Results 1 – 9 of 9) sorted by relevance
219 raise HTTPException("got more than %d headers" % _MAXHEADERS)1459 class HTTPException(Exception): class1464 class NotConnected(HTTPException):1467 class InvalidURL(HTTPException):1470 class UnknownProtocol(HTTPException):1475 class UnknownTransferEncoding(HTTPException):1478 class UnimplementedFileMode(HTTPException):1481 class IncompleteRead(HTTPException):1495 class ImproperConnectionState(HTTPException):1507 class BadStatusLine(HTTPException):[all …]
345 except http.client.HTTPException as err:
151 .. exception:: HTTPException159 A subclass of :exc:`HTTPException`.164 A subclass of :exc:`HTTPException`, raised if a port is given and is either170 A subclass of :exc:`HTTPException`.175 A subclass of :exc:`HTTPException`.180 A subclass of :exc:`HTTPException`.185 A subclass of :exc:`HTTPException`.190 A subclass of :exc:`HTTPException`.210 A subclass of :exc:`HTTPException`. Raised if a server responds with a HTTP216 A subclass of :exc:`HTTPException`. Raised if an excessively long line
15 from http.client import HTTPException184 except (OSError, HTTPException):
11 from http.client import HTTPException295 except (OSError, HTTPException):
10 from http.client import HTTPException341 except (OSError, HTTPException):
25 from http.client import HTTPException83 except (OSError, HTTPException):
768 self.assertRaisesRegex(client.HTTPException,1044 with self.assertRaises(client.HTTPException) as cm:
3492 - Issue #16037: HTTPMessage.readheaders() raises an HTTPException when more than