Merge pull request #4547 from Saraislet/json-kwarg-docs

add comment about json parameter changing content-type
This commit is contained in:
Nate Prewitt
2018-03-16 12:42:55 -07:00
committed by GitHub
+2
View File
@@ -283,6 +283,8 @@ the ``json`` parameter (added in version 2.4.2) and it will be encoded automatic
Note, the ``json`` parameter is ignored if either ``data`` or ``files`` is passed.
Using the ``json`` parameter in the request will change the ``Content-Type`` in the header to ``application/json``.
POST a Multipart-Encoded File
-----------------------------