1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-28 08:38:44 +02:00
This commit is contained in:
Jakub Roztocil 2013-04-12 11:26:42 -03:00
parent 55d5e78324
commit 38206e9e92
2 changed files with 1 additions and 2 deletions

View File

@ -877,7 +877,7 @@ Other notes:
* The ``--download`` option only changes how the response body is treated.
* You can still set custom headers, use ``--verbose, -v``, etc.
* ``--download`` always implies ``--follow`` (redirects are followed).
* HTTPie exists with status code ``1`` (error) if the body hasn't been fully
* HTTPie exits with status code ``1`` (error) if the body hasn't been fully
downloaded.
* ``Accept-Encoding`` cannot be set with ``--download``.

View File

@ -149,7 +149,6 @@ class Download(object):
:type progress_file: file
"""
assert output_file, output_file
self._output_file = output_file
self._resume = resume
self._resumed_from = 0