HTTP-COOKIES.md: mention the #HttpOnly_ prefix

Fixes #10847
Reported-by: Harry Sintonen
Closes #10848
This commit is contained in:
Daniel Stenberg 2023-03-27 23:31:07 +02:00
parent 5a10f48778
commit 4fe6c91e7a
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -52,7 +52,9 @@
## Cookie file format
The cookie file format is text based and stores one cookie per line. Lines
that start with `#` are treated as comments.
that start with `#` are treated as comments. An exception is lines that
start with `#HttpOnly_`, which is a prefix for cookies that have the
`HttpOnly` attribute set.
Each line that specifies a single cookie consists of seven text fields
separated with TAB characters. A valid line must end with a newline