Merge pull request #4368 from danielroseman/patch-1

Clarify behaviour of `json` parameter.
This commit is contained in:
Nate Prewitt
2017-11-22 07:56:09 -08:00
committed by GitHub
+1
View File
@@ -281,6 +281,7 @@ the ``json`` parameter (added in version 2.4.2) and it will be encoded automatic
>>> r = requests.post(url, json=payload)
Note, the ``json`` parameter is ignored if either ``data`` or ``files`` is passed.
POST a Multipart-Encoded File
-----------------------------