Done: a test enumerates the registered routes (HTML, JSON, assets, errors, redirects, 404) and asserts Content-Security-Policy, X-Content-Type-Options and Referrer-Policy on each; a route that lacks one fails with its path named. Fix any it finds. Risks: streaming responses. Fits: mason.
Done on main already, waiting for you to close it: 13c6016ed9c6a9d9ff478f017aaa3333d82a3f89 a9a19412f7867115c247dcb2a98851399914b073 ba38efcd53d72a985c0a1e1befa439de745beeb3 7f032a34251a0a06fefa9bacad31177c6d17b219
Done: a test enumerates the registered routes (HTML, JSON, assets, errors, redirects, 404) and asserts Content-Security-Policy, X-Content-Type-Options and Referrer-Policy on each; a route that lacks one fails with its path named. Fix any it finds. Risks: streaming responses. Fits: mason.