forked from extern/httpie-cli
Cleanup
This commit is contained in:
parent
55d5e78324
commit
38206e9e92
@ -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``.
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user