Skip to content

Implement If-Match for static files (return 412 Precondition Failed) #154

Description

@OskarLundqvist33

More advanced HTTP caching/concurrency feature that builds on ETag that's already implemented. This is adding features when serving an existing static file and the request includes If-Match and it does not match the current ETag (including list syntax), it should respond 412 Precondition Failed. It should include ETag: , the usual Cache-Control and if If-Match matches (or is *), proceed with the existing If-None-Match → 304 logic and normal 200 responses.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions