mirror of
https://github.com/httpie/cli.git
synced 2025-02-18 10:30:48 +01:00
README
This commit is contained in:
parent
6dee49357d
commit
fd6e87914c
@ -1319,7 +1319,7 @@ Downloaded file name
|
|||||||
There are three mutually exclusive ways through which HTTPie determines
|
There are three mutually exclusive ways through which HTTPie determines
|
||||||
the output filename (with decreasing priority):
|
the output filename (with decreasing priority):
|
||||||
|
|
||||||
1. You can explicitly provide the exact output file name via ``--output, -o``.
|
1. You can explicitly provide it via ``--output, -o``.
|
||||||
The file gets overwritten if it already exists
|
The file gets overwritten if it already exists
|
||||||
(or appended to with ``--continue, -c``).
|
(or appended to with ``--continue, -c``).
|
||||||
2. The server may specify the filename in the optional ``Content-Disposition``
|
2. The server may specify the filename in the optional ``Content-Disposition``
|
||||||
@ -1330,8 +1330,8 @@ the output file name (with decreasing priority):
|
|||||||
the generated filename — even if there has been one or more redirects.
|
the generated filename — even if there has been one or more redirects.
|
||||||
|
|
||||||
|
|
||||||
To prevent data loss, HTTPie adds a unique numerical suffix to the
|
To prevent data loss by overwriting, HTTPie adds a unique numerical suffix to the
|
||||||
filename, unless the name has been explicitly provided via ``--output, -o``.
|
filename when necessary (unless specified with ``--output, -o``).
|
||||||
|
|
||||||
|
|
||||||
Piping while downloading
|
Piping while downloading
|
||||||
|
Loading…
Reference in New Issue
Block a user