From 7340b2b64d49fa24eee1198b9cd4392ee915624d Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Fri, 20 Mar 2020 11:57:58 +0100 Subject: [PATCH] Update --download doc --- README.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.rst b/README.rst index a62a4166..eb321560 100644 --- a/README.rst +++ b/README.rst @@ -1386,6 +1386,8 @@ Other notes * The ``--download`` option only changes how the response body is treated. * You can still set custom headers, use sessions, ``--verbose, -v``, etc. * ``--download`` always implies ``--follow`` (redirects are followed). +* ``--download`` also implies ``--check-status`` + (error HTTP status will result in a non-zero exist static code). * HTTPie exits with status code ``1`` (error) if the body hasn't been fully downloaded. * ``Accept-Encoding`` cannot be set with ``--download``.