mirror of
https://github.com/httpie/cli.git
synced 2024-11-22 15:53:13 +01:00
Augment cookie example in README for multiple cookies
This change updates the README to show how to pass multiple cookies.
This commit is contained in:
parent
383dba524a
commit
69247066dc
@ -425,7 +425,7 @@ To set custom headers you can use the ``Header:Value`` notation:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ http example.org User-Agent:Bacon/1.0 Cookie:valued-visitor=yes X-Foo:Bar Referer:http://httpie.org/
|
||||
$ http example.org User-Agent:Bacon/1.0 'Cookie:valued-visitor=yes;foo=bar' X-Foo:Bar Referer:http://httpie.org/
|
||||
|
||||
|
||||
.. code-block:: http
|
||||
@ -433,7 +433,7 @@ To set custom headers you can use the ``Header:Value`` notation:
|
||||
GET / HTTP/1.1
|
||||
Accept: */*
|
||||
Accept-Encoding: identity, deflate, compress, gzip
|
||||
Cookie: valued-visitor=yes
|
||||
Cookie: valued-visitor=yes;foo=bar
|
||||
Host: example.org
|
||||
Referer: http://httpie.org/
|
||||
User-Agent: Bacon/1.0
|
||||
|
Loading…
Reference in New Issue
Block a user