mirror of
https://github.com/httpie/cli.git
synced 2024-11-26 09:43:38 +01:00
README
This commit is contained in:
parent
22a2fddc79
commit
f515ef72d0
@ -414,7 +414,7 @@ both of which can be overwritten:
|
|||||||
You can use ``--json, -j`` to explicitly set ``Accept``
|
You can use ``--json, -j`` to explicitly set ``Accept``
|
||||||
to ``application/json`` regardless of whether you are sending data
|
to ``application/json`` regardless of whether you are sending data
|
||||||
(it's a shortcut for setting the header via the usual header notation –
|
(it's a shortcut for setting the header via the usual header notation –
|
||||||
``http url Accept:application/json, */*``). Additionally,
|
``http url Accept:'application/json, */*'``). Additionally,
|
||||||
HTTPie will try to detect JSON responses even when the
|
HTTPie will try to detect JSON responses even when the
|
||||||
``Content-Type`` is incorrectly ``text/plain`` or unknown.
|
``Content-Type`` is incorrectly ``text/plain`` or unknown.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user