Skip to content
Myr

import cleanups

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 f269c6c · Browse files · 1 file+0 added−6 removed
This commit

State

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

Diff stats

1 file+0 added−6 removed

  • other:+0 added−6 removed

1 file+0 added−6 removed

modified:requests/api.py-6 removed
9 unmodified lines
10:license: ISC, see LICENSE for more details.1112"""1314from . import config15from .models import Request, Response, AuthObject16from .status_codes import codes17from .hooks import dispatch_hook18from .utils import cookiejar_from_dict, header_expand14from .sessions import session1516__all__ = ('request', 'get', 'head', 'post', 'patch', 'put', 'delete')17
16 unmodified lines
34 :param url: URL for the new :class:`Request` object.35 :param **kwargs: Optional arguments that ``request`` takes.36 """374338 kwargs.setdefault('allow_redirects', True)39 return request('GET', url, **kwargs)4041
52 unmodified lines