Skip to content
Myr

Request

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 596aceb · Browse files · 2 files+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

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:requests/api.py+1 added-1 removed
39 unmodified lines
40 :param allow_redirects: (optional) Boolean. Set to True if POST/PUT/DELETE redirect following is allowed.41 :param proxies: (optional) Dictionary mapping protocol to the URL of the proxy.42 """4344 method = method.upper()44 method = str(method).upper()4546 if cookies is None:47 cookies = {}48
98 unmodified lines
modified:requests/models.py+1 added-1 removed
422 unmodified lines
423 #: the history of the Request. Any redirect responses will end424 #: up here.425 self.history = []426427 #: The Request that created the Response.427 #: The :class:`Request <Request>` that created the Response.428 self.request = None429430 #: A dictionary of Cookies the server sent back.431 self.cookies = None
224 unmodified lines