forked from extern/httpie-cli
Document -A as a short name for --auth-type
This commit is contained in:
parent
25f0156502
commit
11a37067e7
@ -9,6 +9,7 @@ This project adheres to `Semantic Versioning <http://semver.org/>`_.
|
||||
-------------------------
|
||||
|
||||
* Added ``Content-Type`` of files uploaded in ``multipart/form-data`` requests.
|
||||
* Added ``-A`` as short name for ``--auth-type``
|
||||
* Changed the default color style back to``solarized`` as it supports
|
||||
both the light and dark terminal background mode.
|
||||
|
||||
|
@ -565,7 +565,7 @@ The currently supported authentication schemes are Basic and Digest
|
||||
supported as well (but credentials passed via ``-a``
|
||||
have higher priority).
|
||||
|
||||
``--auth-type`` Specify the auth mechanism. Possible values are
|
||||
``--auth-type, -A`` Specify the auth mechanism. Possible values are
|
||||
``basic`` and ``digest``. The default value is
|
||||
``basic`` so it can often be omitted.
|
||||
=================== ======================================================
|
||||
@ -585,7 +585,7 @@ Digest auth:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ http --auth-type=digest -a username:password example.org
|
||||
$ http -A digest -a username:password example.org
|
||||
|
||||
|
||||
With password prompt:
|
||||
|
Loading…
Reference in New Issue
Block a user