Skip to content
Myr

fixed #1723

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

authored by daftshady · committed by daftshady · parent 1ba83c4 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:requests/api.py+2 added-2 removed
10 unmodified lines
1112"""1314from . import sessions15from .compat import builtin_str161617def request(method, url, **kwargs):18 """Constructs and sends a :class:`Request <Request>`.19 Returns :class:`Response <Response>` object.20
19 unmodified lines
40 <Response [200]>41 """4243 session = sessions.Session()44 return session.request(method=method, url=url, **kwargs)44 return session.request(method=builtin_str(method), url=url, **kwargs)454647def get(url, **kwargs):48 """Sends a GET request. Returns :class:`Response` object.
72 unmodified lines