You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: draft-ietf-httpbis-layered-cookies.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -520,9 +520,6 @@ represented as the number of seconds until the cookie expires. The user agent is
520
520
not required to retain the cookie for the specified duration. In fact, user
521
521
agents often evict cookies due to memory pressure or privacy concerns.
522
522
523
-
NOTE: Some existing user agents do not support the Max-Age attribute. User
524
-
agents that do not support the Max-Age attribute ignore the attribute.
525
-
526
523
If a cookie has both the Max-Age and the Expires attribute, the Max-Age
527
524
attribute has precedence and controls the expiration date of the cookie. If a
528
525
cookie has neither the Max-Age nor the Expires attribute, the user agent
@@ -679,10 +676,10 @@ This helps developers and server operators to know that the cookie was set using
679
676
a `Set-Cookie` header, and is limited in scope to HTTP requests.
680
677
681
678
682
-
#### The "__HostHttp-" prefix
679
+
#### The "__Host-Http-" prefix
683
680
684
681
If a cookie's name begins with a case-sensitive match for the string
685
-
`__HostHttp-`, then the cookie will have been set with a `Secure` attribute, an
682
+
`__Host-Http-`, then the cookie will have been set with a `Secure` attribute, an
686
683
`HttpOnly`attribute, a `Path` attribute with a value of `/`, and no `Domain` attribute.
687
684
688
685
This helps developers and server operators to know that the cookie was set using
@@ -1305,7 +1302,7 @@ boolean _httpOnlyAllowed_, boolean _allowNonHostOnlyCookieForPublicSuffix_, and
1305
1302
1306
1303
1. If _cookie_'s name, byte-lowercased, starts with `__http-` and _cookie_ is not Http-prefix compatible, then return null.
1307
1304
1308
-
1. If _cookie_'s name, byte-lowercased, starts with `__hosthttp-` and _cookie_ is not both Host-prefix compatible and Http-prefix compatible, then return null.
1305
+
1. If _cookie_'s name, byte-lowercased, starts with `__host-http-` and _cookie_ is not both Host-prefix compatible and Http-prefix compatible, then return null.
1309
1306
1310
1307
1. If _cookie_'s name is the empty byte sequence and one of the following is true:
1311
1308
@@ -1315,7 +1312,7 @@ boolean _httpOnlyAllowed_, boolean _allowNonHostOnlyCookieForPublicSuffix_, and
1315
1312
1316
1313
* _cookie_'s value, byte-lowercased, starts with `__http-`, or
1317
1314
1318
-
* _cookie_'s value, byte-lowercased, starts with `__hosthttp-`,
1315
+
* _cookie_'s value, byte-lowercased, starts with `__host-http-`,
Copy file name to clipboardExpand all lines: draft-ietf-httpbis-no-vary-search.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ And if the resource instead wants to take an allowlist-based approach, where onl
131
131
No-Vary-Search: params, except=("productId")
132
132
~~~~
133
133
134
-
{{header-definition}} defines the header, using the {{STRUCTURED-FIELDS}} framework. {{data-model}} and {{parsing}} illustrate the data model for how the header can be represented in specifications, and the process for parsing the raw output from the structured field parser into that data model. {{comparing}} gives the key algorithm for comparing if two URLs are equivalent under the influence of the header; notably, it leans on the decomposition of the query component into keys and values given by the [application/x-www-form-urlencoded](https://url.spec.whatwg.org/#concept-urlencoded) format specified in {{WHATWG-URL}}. Finally, {{caching}} explains how to modify {{HTTP-CACHING}} to take into account this new equivalence.
134
+
{{header-definition}} defines the header, using the {{STRUCTURED-FIELDS}} framework. {{data-model}} and {{parsing}} illustrate the data model for how the header can be represented in specifications, and the process for parsing the raw output from the structured field parser into that data model. {{comparing}} gives the key algorithm for comparing if two URLs are equivalent under the influence of the header; notably, it leans on the decomposition of the query component into keys and values given by the [application/x-www-form-urlencoded](https://url.spec.whatwg.org/#concept-urlencoded) format specified in {{WHATWG-URL}}. (As such, this header is not useful for URLs whose query component does not follow that format.) Finally, {{caching}} explains how to modify {{HTTP-CACHING}} to take into account this new equivalence.
135
135
136
136
# Conventions and Definitions
137
137
@@ -485,4 +485,12 @@ Comments
485
485
# Acknowledgments
486
486
{:numbered="false"}
487
487
488
-
TODO acknowledge.
488
+
This document benefited from valuable reviews and suggestions by:
0 commit comments