Skip to content
Myr

Merge pull request #355 from fkumro/develop

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

Added prefetch documentation for api

authored by Kenneth Reitz · committed by Kenneth Reitz · parents e699016, 0536e5b · Browse files · 1 file+1 added−0 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+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:requests/api.py+1 added
30 unmodified lines
31 :param return_response: (optional) If False, an un-sent Request object will returned.32 :param session: (optional) A :class:`Session` object to be used for the request.33 :param config: (optional) A configuration dictionary.34 :param verify: (optional) if ``True``, the SSL cert will be verified. A CA_BUNDLE path can also be provided.35 :param prefetch: (optional) if ``True``, the response content will be immediately downloaded.36 """3738 s = kwargs.pop('session') if 'session' in kwargs else sessions.session()39 return s.request(method=method, url=url, **kwargs)
77 unmodified lines