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 2016-12-07 05:59:27 +01:00
parent 923b7acbe6
commit 64d6363565

View File

@ -278,13 +278,6 @@ this command:
GET /?search=HTTPie+logo&tbm=isch HTTP/1.1
You can use the ``--default-scheme <URL_SCHEME>`` option to create
shortcuts for other protocols than HTTP:
.. code-block:: bash
$ alias https='http --default-scheme=https'
URL shortcuts for ``localhost``
@ -327,6 +320,16 @@ If the port is omitted, then port 80 is assumed.
Host: localhost
Custom default scheme
---------------------
You can use the ``--default-scheme <URL_SCHEME>`` option to create
shortcuts for other protocols than HTTP:
.. code-block:: bash
$ alias https='http --default-scheme=https'
Request items
=============