mirror of
https://github.com/httpie/cli.git
synced 2026-06-20 11:32:56 +02:00
Add custom Host example.
This commit is contained in:
1 parent
5af88756a6
commit
63b61bc811
1 file changed
+7
@@ -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
|
||||
|
||||
..
|
||||
|
||||
--------
|
||||
|
||||
Reference in new issue
Block a user