Skip to content
Myr

Update models.py

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

Updated Documentation: ```data``` as well as ```files``` supersedes json

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

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/models.py+1 added-1 removed
190 unmodified lines
191 :param url: URL to send.192 :param headers: dictionary of headers to send.193 :param files: dictionary of {filename: fileobject} files to multipart upload.194 :param data: the body to attach to the request. If a dictionary is provided, form-encoding will take place.195 :param json: json for the body to attach to the request (if data is not specified).195 :param json: json for the body to attach to the request (if files or data is not specified).196 :param params: dictionary of URL parameters to append to the URL.197 :param auth: Auth handler or (user, pass) tuple.198 :param cookies: dictionary or CookieJar of cookies to attach to this request.199 :param hooks: dictionary of callback hooks, for internal usage.
649 unmodified lines