Skip to content
Myr

Merge pull request #2742 from everett-toews/data-arg

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

Include file-like object in data arg description

authored by Ian Cordasco · committed by Ian Cordasco · parents cef2589, 8b03cd9 · 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/sessions.py+2 added-2 removed
408 unmodified lines
409 :param method: method for the new :class:`Request` object.410 :param url: URL for the new :class:`Request` object.411 :param params: (optional) Dictionary or bytes to be sent in the query412 string for the :class:`Request`.413 :param data: (optional) Dictionary or bytes to send in the body of the414 :class:`Request`.413 :param data: (optional) Dictionary, bytes, or file-like object to send414 in the body of the :class:`Request`.415 :param json: (optional) json to send in the body of the416 :class:`Request`.417 :param headers: (optional) Dictionary of HTTP Headers to send with the418 :class:`Request`.
264 unmodified lines