From: Daniel Stenberg Date: Mon, 27 Mar 2023 21:31:07 +0000 (+0200) Subject: HTTP-COOKIES.md: mention the #HttpOnly_ prefix X-Git-Tag: curl-8_1_0~290 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4fe6c91e7a54734cc075ab3922a821be0abbc7b7;p=thirdparty%2Fcurl.git HTTP-COOKIES.md: mention the #HttpOnly_ prefix Fixes #10847 Reported-by: Harry Sintonen Closes #10848 --- diff --git a/docs/HTTP-COOKIES.md b/docs/HTTP-COOKIES.md index 2af046b59b..2108fb4490 100644 --- a/docs/HTTP-COOKIES.md +++ b/docs/HTTP-COOKIES.md @@ -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