File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -2225,30 +2225,30 @@ There are three possible sources of persisted cookies within a session. They hav
2225
2225
2226
2226
1. Receive a response with a ` Set-Cookie` header:
2227
2227
2228
- ` ` ` bash
2229
- $ http --session=./session.json pie.dev/cookie/set? foo=bar
2230
- ` ` `
2228
+ ` ` ` bash
2229
+ $ http --session=./session.json pie.dev/cookie/set? foo=bar
2230
+ ` ` `
2231
2231
2232
2232
2. Send a cookie specified on the command line as seen in [cookies](# cookies):
2233
2233
2234
- ` ` ` bash
2235
- $ http --session=./session.json pie.dev/headers Cookie:foo=bar
2236
- ` ` `
2234
+ ` ` ` bash
2235
+ $ http --session=./session.json pie.dev/headers Cookie:foo=bar
2236
+ ` ` `
2237
2237
2238
2238
3. Manually set cookie parameters in the session file:
2239
2239
2240
- ` ` ` json
2241
- {
2242
- " cookies" : {
2243
- " foo" : {
2244
- " expires" : null,
2245
- " path" : " /" ,
2246
- " secure" : false,
2247
- " value" : " bar"
2248
- }
2249
- }
2250
- }
2251
- ` ` `
2240
+ ` ` ` json
2241
+ {
2242
+ " cookies" : {
2243
+ " foo" : {
2244
+ " expires" : null,
2245
+ " path" : " /" ,
2246
+ " secure" : false,
2247
+ " value" : " bar"
2248
+ }
2249
+ }
2250
+ }
2251
+ ` ` `
2252
2252
2253
2253
In summary:
2254
2254
You can’t perform that action at this time.
0 commit comments