mirror of
https://github.com/httpie/cli.git
synced 2025-01-03 20:29:21 +01:00
Add custom Host example.
This commit is contained in:
parent
5af88756a6
commit
63b61bc811
@ -181,6 +181,13 @@ between requests to the same host:
|
|||||||
|
|
||||||
$ http --session=logged-in httpbin.org/headers
|
$ http --session=logged-in httpbin.org/headers
|
||||||
|
|
||||||
|
|
||||||
|
Set a custom ``Host`` header to work around missing DNS records:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
$ http localhost:8000 Host:example.com
|
||||||
|
|
||||||
..
|
..
|
||||||
|
|
||||||
--------
|
--------
|
||||||
|
Loading…
Reference in New Issue
Block a user