Document static If-Range response semantics

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-10 03:17:20 +00:00
1 parent f358ab2a3c
commit 035d257d98
1 file changed
+1
+1
View File
@@ -74,6 +74,7 @@ Runtime command semantics:
- Static file success responses include `Accept-Ranges: bytes`, `Vary: Range`, deterministic `ETag` values, plus hardened browser headers (`X-Content-Type-Options`, `X-Frame-Options`, `Referrer-Policy`, `Cross-Origin-Resource-Policy`, `Cross-Origin-Opener-Policy`).
- Static files support single-range byte requests (`Range: bytes=...`) with standards-compliant `206` / `416` behavior.
- Static non-range requests support `If-None-Match` and `If-Modified-Since` conditional caching via `304 Not Modified`.
- Static range requests support `If-Range` semantics (matched validator keeps `206`; mismatched validator falls back to full `200` response).
## Runtime modes