forked from extern/httpie-cli
parent
595dc51b2d
commit
bfc64bce21
@ -17,6 +17,8 @@ This project adheres to `Semantic Versioning <http://semver.org/>`_.
|
||||
* Added ``--default-scheme <URL_SCHEME>``.
|
||||
* Added fish shell completion (located in ``extras/httpie-completion.fish``
|
||||
in the Github repo).
|
||||
* Updated ``requests`` to 2.10.0 so that SOCKS support can be added via
|
||||
``pip install requests[socks]``.
|
||||
* Changed the default JSON ``Accept`` header from ``application/json``
|
||||
to ``application/json, */*``.
|
||||
|
||||
|
17
README.rst
17
README.rst
@ -713,6 +713,23 @@ In your ``~/.bash_profile``:
|
||||
export NO_PROXY=localhost,example.com
|
||||
|
||||
|
||||
SOCKS
|
||||
-----
|
||||
|
||||
To enable SOCKS proxy support please install ``requests[socks]`` using ``pip``:
|
||||
|
||||
|
||||
.. code-block::bash
|
||||
|
||||
$ pip install -U requests[socks]
|
||||
|
||||
Usage is the same as for other types of `proxies`_:
|
||||
|
||||
.. code-block::bash
|
||||
|
||||
$ http --proxy=http:socks5://user:pass@host:port --proxy=https:socks5://user:pass@host:port example.org
|
||||
|
||||
|
||||
=====
|
||||
HTTPS
|
||||
=====
|
||||
|
Loading…
Reference in New Issue
Block a user