Skip to content

Cache-Control: no-cache,no-stored #52

@Keisial

Description

@Keisial

ac25ca4 tried to add a "Cache-Control: no-cache,no-store" header when max-age = 0, but it is actually adding "Cache-Control: no-cache,no-stored"

'no-stored' is not a valid value for Cache-Control
(https://www.iana.org/assignments/http-cache-directives/http-cache-directives.xhtml)

Additionally, if the status code is not a 2xx or 3xx, "Cache-Control: no-cache,no-store" was already being added, so it gets duplicated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions