mirror of
https://github.com/httpie/cli.git
synced 2024-11-08 17:04:50 +01:00
Updated download example URLs
This commit is contained in:
parent
56f498c153
commit
c2f8c36952
15
README.rst
15
README.rst
@ -1010,20 +1010,17 @@ is being saved to a file.
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ http --download https://github.com/jkbrzt/httpie/tarball/master
|
$ http --download https://github.com/jkbrzt/httpie/archive/master.tar.gz
|
||||||
|
|
||||||
.. code-block:: http
|
.. code-block:: http
|
||||||
|
|
||||||
HTTP/1.1 200 OK
|
HTTP/1.1 200 OK
|
||||||
Connection: keep-alive
|
Content-Disposition: attachment; filename=httpie-master.tar.gz
|
||||||
Content-Disposition: attachment; filename=jkbrzt-httpie-0.4.1-33-gfc4f70a.tar.gz
|
Content-Length: 257336
|
||||||
Content-Length: 505530
|
|
||||||
Content-Type: application/x-gzip
|
Content-Type: application/x-gzip
|
||||||
Server: GitHub.com
|
|
||||||
Vary: Accept-Encoding
|
|
||||||
|
|
||||||
Downloading 494.89 kB to "jkbrzt-httpie-0.4.1-33-gfc4f70a.tar.gz"
|
Downloading 251.30 kB to "httpie-master.tar.gz"
|
||||||
/ 21.01% 104.00 kB 47.55 kB/s 0:00:08 ETA
|
Done. 251.30 kB in 2.73862s (91.76 kB/s)
|
||||||
|
|
||||||
|
|
||||||
If not provided via ``--output, -o``, the output filename will be determined
|
If not provided via ``--output, -o``, the output filename will be determined
|
||||||
@ -1036,7 +1033,7 @@ headers and progress are still shown in the terminal:
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ http -d https://github.com/jkbrzt/httpie/tarball/master | tar zxf -
|
$ http -d https://github.com/jkbrzt/httpie/archive/master.tar.gz | tar zxf -
|
||||||
|
|
||||||
|
|
||||||
If ``--output, -o`` is specified, you can resume a partial download using the
|
If ``--output, -o`` is specified, you can resume a partial download using the
|
||||||
|
Loading…
Reference in New Issue
Block a user