From e83e554ffb704b7c588a478a7bb187a19bab4a16 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Tue, 1 Mar 2016 16:50:30 +0800 Subject: [PATCH] README --- README.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index a55226c5..22f97a44 100644 --- a/README.rst +++ b/README.rst @@ -23,7 +23,7 @@ HTTPie is written in Python, and under the hood it uses the excellent ----- -|gitter| |pypi| |unix_build| |windows_build| |coverage| +|pypi| |unix_build| |windows_build| |coverage| |gitter| ----- @@ -389,10 +389,9 @@ both of which can be overwritten: You can use ``--json, -j`` to explicitly set ``Accept`` to ``application/json`` regardless of whether you are sending data (it's a shortcut for setting the header via the usual header notation – -``http url Accept:application/json``). - -Additionally, with the ``--json, -j`` option HTTPie tries to detect JSON -responses event when the ``Content-Type`` is ``text/plain`` or unknown. +``http url Accept:application/json``). Additionally, +HTTPie will try to detect JSON responses even when the +``Content-Type`` is incorrectly ``text/plain`` or unknown. Simple example: