Skip to content

Max-Age=0 #3375

Description

@mnot

https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-4.1.1 --

Servers conforming to this profile MUST NOT send Set-Cookie header fields that deviate from the following grammar:
[...]
max-age-av = "Max-Age" BWS "=" BWS non-zero-digit *DIGIT

This has the effect of disallowing Max-Age=0, even though later:

If delta-seconds is less than or equal to zero (0), let expiry-time be the earliest representable date and time. Otherwise, let the expiry-time be the current date and time plus delta-seconds seconds.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

6265biscookiesIssues with the layered-cookies draft.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions