mirror of
https://github.com/httpie/cli.git
synced 2025-01-01 03:09:29 +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
|
||||
|
||||
|
||||
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