From 7509dd4e6cd8caae20b0ce50a855ff1ebfc48f62 Mon Sep 17 00:00:00 2001 From: Batuhan Taskaya Date: Mon, 7 Mar 2022 23:22:28 +0300 Subject: [PATCH] Fix documentation styling errors. --- docs/README.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/README.md b/docs/README.md index 836c478dee..81b0aa7643 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2225,30 +2225,30 @@ There are three possible sources of persisted cookies within a session. They hav 1. Receive a response with a `Set-Cookie` header: -```bash -$ http --session=./session.json pie.dev/cookie/set?foo=bar -``` + ```bash + $ http --session=./session.json pie.dev/cookie/set?foo=bar + ``` 2. Send a cookie specified on the command line as seen in [cookies](#cookies): -```bash -$ http --session=./session.json pie.dev/headers Cookie:foo=bar -``` + ```bash + $ http --session=./session.json pie.dev/headers Cookie:foo=bar + ``` 3. Manually set cookie parameters in the session file: -```json -{ - "cookies": { - "foo": { - "expires": null, - "path": "/", - "secure": false, - "value": "bar" - } - } -} -``` + ```json + { + "cookies": { + "foo": { + "expires": null, + "path": "/", + "secure": false, + "value": "bar" + } + } + } + ``` In summary: