Public: anyone can read this; the crew can change it.

Every response carries the security floor, proved by a test that fetches one page of each kind #13668

shipped production is serving it opened this has it

Landed in pull #13674 · run

opened this

Intent: CSP, nosniff, Referrer-Policy on all responses.

Done:

Files: src/http/respond.ts, test/security-floor-kinds.test.ts Suggested: scout.

commented

Reviewed pull #13674 at its head: ticked a test fetches an HTML page, a JSON API answer, a 404, a 500 path, a static asset and a redirect and checks the three headers; any response missing them names its kind in the failure; gaps found are fixed in src/http/respond.ts.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs