From 507cd6e2557eb5a11e8f832ab4657c0ac5038170 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Tue, 29 Sep 2020 21:26:38 +0200 Subject: [PATCH] Fix table formatting reStructuredText is a mess --- README.rst | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.rst b/README.rst index 0712bb21..e1f9e94d 100644 --- a/README.rst +++ b/README.rst @@ -471,22 +471,22 @@ their type is distinguished only by the separator used: | ``name==value`` | string parameter to the URL. | | | The ``==`` separator is used. | +-----------------------+-----------------------------------------------------+ -| Data Fields | Request data fields to be serialized as a JSON | -| ``field=value``, | object (default), to be form-encoded | -| ``field=@file.txt`` | (with ``--form, -f``), or to be serialized as | +| Data Fields | Request data fields to be serialized as a JSON | +| ``field=value``, | object (default), to be form-encoded | +| ``field=@file.txt`` | (with ``--form, -f``), or to be serialized as | | | ``multipart/form-data`` (with ``--multipart``). | +-----------------------+-----------------------------------------------------+ -| Raw JSON fields | Useful when sending JSON and one or | -| ``field:=json``, | more fields need to be a ``Boolean``, ``Number``, | -| ``field:=@file.json`` | nested ``Object``, or an ``Array``, e.g., | +| Raw JSON fields | Useful when sending JSON and one or | +| ``field:=json``, | more fields need to be a ``Boolean``, ``Number``, | +| ``field:=@file.json`` | nested ``Object``, or an ``Array``, e.g., | | | ``meals:='["ham","spam"]'`` or ``pies:=[1,2,3]`` | | | (note the quotes). | +-----------------------+-----------------------------------------------------+ -| Fields upload fields | Only available with ``--form, -f`` and | -| ``field@/dir/file`` | ``--multipart``. | -| ``field@file;type`` | For example ``screenshot@~/Pictures/img.png``, or | +| Fields upload fields | Only available with ``--form, -f`` and | +| ``field@/dir/file`` | ``--multipart``. | +| ``field@file;type`` | For example ``screenshot@~/Pictures/img.png``, or | | | ``'cv@cv.txt;text/markdown'``. | -| | With ``--form``, the presence of a file field | +| | With ``--form``, the presence of a file field | | | results in a ``--multipart`` request. | +-----------------------+-----------------------------------------------------+