You've already forked httpie-cli
							
							
				mirror of
				https://github.com/httpie/cli.git
				synced 2025-10-30 23:47:52 +02:00 
			
		
		
		
	Install requests[socks] by default for out of the box SOCKS support
Close #904
This commit is contained in:
		| @@ -9,6 +9,7 @@ This project adheres to `Semantic Versioning <https://semver.org/>`_. | |||||||
| `2.3.0-dev`_ (unreleased) | `2.3.0-dev`_ (unreleased) | ||||||
| ------------------------- | ------------------------- | ||||||
| * Added support for combining cookies specified on the CLI and in a session file (`#932`_). | * Added support for combining cookies specified on the CLI and in a session file (`#932`_). | ||||||
|  | * Added out of the box SOCKS support with no extra installation (`#904`_). | ||||||
|  |  | ||||||
|  |  | ||||||
| `2.2.0`_ (2020-06-18) | `2.2.0`_ (2020-06-18) | ||||||
| @@ -456,6 +457,7 @@ This project adheres to `Semantic Versioning <https://semver.org/>`_. | |||||||
| .. _#870: https://github.com/jakubroztocil/httpie/issues/870 | .. _#870: https://github.com/jakubroztocil/httpie/issues/870 | ||||||
| .. _#895: https://github.com/jakubroztocil/httpie/issues/895 | .. _#895: https://github.com/jakubroztocil/httpie/issues/895 | ||||||
| .. _#920: https://github.com/jakubroztocil/httpie/issues/920 | .. _#920: https://github.com/jakubroztocil/httpie/issues/920 | ||||||
|  | .. _#904: https://github.com/jakubroztocil/httpie/issues/904 | ||||||
| .. _#925: https://github.com/jakubroztocil/httpie/issues/925 | .. _#925: https://github.com/jakubroztocil/httpie/issues/925 | ||||||
| .. _#932: https://github.com/jakubroztocil/httpie/issues/932 | .. _#932: https://github.com/jakubroztocil/httpie/issues/932 | ||||||
| .. _#934: https://github.com/jakubroztocil/httpie/issues/934 | .. _#934: https://github.com/jakubroztocil/httpie/issues/934 | ||||||
|   | |||||||
| @@ -1055,15 +1055,6 @@ In your ``~/.bash_profile``: | |||||||
| SOCKS | SOCKS | ||||||
| ----- | ----- | ||||||
|  |  | ||||||
| Homebrew-installed HTTPie comes with SOCKS proxy support out of the box. |  | ||||||
| To enable SOCKS proxy support for non-Homebrew  installations, you’ll |  | ||||||
| might need to install ``requests[socks]`` manually using ``pip``: |  | ||||||
|  |  | ||||||
|  |  | ||||||
| .. code-block:: bash |  | ||||||
|  |  | ||||||
|     $ pip install -U requests[socks] |  | ||||||
|  |  | ||||||
| Usage is the same as for other types of `proxies`_: | Usage is the same as for other types of `proxies`_: | ||||||
|  |  | ||||||
| .. code-block:: bash | .. code-block:: bash | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user