Fix documentation styling errors.

This commit is contained in:
Batuhan Taskaya 2022-03-07 23:22:28 +03:00
parent f08c1bee17
commit 7509dd4e6c

View File

@ -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: 1. Receive a response with a `Set-Cookie` header:
```bash ```bash
$ http --session=./session.json pie.dev/cookie/set?foo=bar $ http --session=./session.json pie.dev/cookie/set?foo=bar
``` ```
2. Send a cookie specified on the command line as seen in [cookies](#cookies): 2. Send a cookie specified on the command line as seen in [cookies](#cookies):
```bash ```bash
$ http --session=./session.json pie.dev/headers Cookie:foo=bar $ http --session=./session.json pie.dev/headers Cookie:foo=bar
``` ```
3. Manually set cookie parameters in the session file: 3. Manually set cookie parameters in the session file:
```json ```json
{ {
"cookies": { "cookies": {
"foo": { "foo": {
"expires": null, "expires": null,
"path": "/", "path": "/",
"secure": false, "secure": false,
"value": "bar" "value": "bar"
} }
} }
} }
``` ```
In summary: In summary: