mirror of
https://github.com/httpie/cli.git
synced 2025-06-24 11:33:48 +02:00
Cleanup
This commit is contained in:
parent
1813cf6156
commit
69445c106c
10
README.rst
10
README.rst
@ -703,7 +703,7 @@ for form requests without any files:
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ http --form --multipart --offline example.org/ hello=world
|
$ http --form --multipart --offline example.org hello=world
|
||||||
|
|
||||||
.. code-block:: http
|
.. code-block:: http
|
||||||
|
|
||||||
@ -718,12 +718,12 @@ for form requests without any files:
|
|||||||
world
|
world
|
||||||
--c31279ab254f40aeb06df32b433cbccb--
|
--c31279ab254f40aeb06df32b433cbccb--
|
||||||
|
|
||||||
By default, HTTPie uses a random unique string as the boundary. You may use
|
By default, HTTPie uses a random unique string as the boundary but you can use
|
||||||
the ``--boundary`` option to specify a custom boundary string instead:
|
``--boundary`` to specify a custom string instead:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ http --form --multipart --boundary=XOXO --offline example.org/ hello=world
|
$ http --form --multipart --boundary=XOXO --offline example.org hello=world
|
||||||
|
|
||||||
.. code-block:: http
|
.. code-block:: http
|
||||||
|
|
||||||
@ -743,7 +743,7 @@ bit, HTTPie will add the boundary value (specified or generated) to the header
|
|||||||
automatically:
|
automatically:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
http --form --multipart --boundary=XOXO --offline example.org/ hello=world Content-Type:love/letter
|
http --form --multipart --boundary=XOXO --offline example.org hello=world Content-Type:love/letter
|
||||||
|
|
||||||
.. code-block:: http
|
.. code-block:: http
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user