Commit 0852cc53 authored by Lily Chen's avatar Lily Chen Committed by Chromium LUCI CQ

Fix markdown in //net/cookies/README.md

Gitiles doesn't display <pre> blocks, so switch to triple-backticks.

Change-Id: Ie66c3a6633ba0f53e9e3d36c9fab2c7021232cf0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2602357
Auto-Submit: Lily Chen <chlily@chromium.org>
Commit-Queue: Maksim Orlovich <morlovich@chromium.org>
Reviewed-by: default avatarMaksim Orlovich <morlovich@chromium.org>
Cr-Commit-Position: refs/heads/master@{#839144}
parent ea0f6cfd
......@@ -52,13 +52,13 @@ extensions
A cookie starts as a `Set-Cookie` header sent in the server's response to an
HTTP request:
<pre>
```
HTTP/1.1 200 OK
Date: ...
Server: ...
...
<b>Set-Cookie: chocolate_chip=tasty; Secure; SameSite=Lax; Max-Age=3600</b>
</pre>
Set-Cookie: chocolate_chip=tasty; Secure; SameSite=Lax; Max-Age=3600
```
The response passes through the `HttpNetworkTransaction` and
`HttpCache::Transaction` to the `URLRequestHttpJob`. (See
......@@ -188,13 +188,13 @@ The included cookies are serialized into a `Cookie` header string (if the
settings). The `URLRequestHttpJob` attaches this `Cookie` header to the outgoing
request headers:
<pre>
```
GET /me/want/cookie/omnomnomnom HTTP/1.1
Host: ...
User-Agent: ...
<b>Cookie: chocolate_chip=tasty</b>
Cookie: chocolate_chip=tasty
...
</pre>
```
The included cookies, excluded cookies, and their corresponding
`CookieInclusionStatus`es are also stored in the `URLRequest` to notify
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment