Skip to content
Myr

All methods are valid now

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 3a6d9b0 · Browse files · 2 files+2 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−5 removed

  • other:+2 added−5 removed

2 files+2 added−5 removed

modified:requests/__init__.py+1 added-1 removed
28 unmodified lines
29from .status_codes import codes30from .config import settings31from .exceptions import (32 RequestException, AuthenticationError, Timeout, URLRequired,33 InvalidMethod, TooManyRedirects33 TooManyRedirects34)
modified:requests/exceptions.py+1 added-4 removed
10 unmodified lines
11 request."""1213class AuthenticationError(RequestException):14 """The authentication credentials provided were invalid."""15 1516class Timeout(RequestException):17 """The request timed out."""1819class URLRequired(RequestException):20 """A valid URL is required to make a request."""2122class InvalidMethod(RequestException):23 """An inappropriate method was attempted."""2422class TooManyRedirects(RequestException):23 """Too many redirects."""