This commit is contained in:
Jakub Roztocil 2016-09-12 09:12:07 +02:00
parent 22a2fddc79
commit f515ef72d0

View File

@ -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.