Skip to content

fix: mirror GET for HEAD requests and add security headers - #85

Merged
hesreallyhim merged 3 commits into
mainfrom
fix/mirror-get-for-head
Aug 31, 2026
Merged

fix: mirror GET for HEAD requests and add security headers#85
hesreallyhim merged 3 commits into
mainfrom
fix/mirror-get-for-head

Conversation

@hesreallyhim

@hesreallyhim hesreallyhim commented Aug 30, 2026

Copy link
Copy Markdown
Member

HEAD requests were responding 404. This PR configures them to mirror dev.
Also adds HSTS headers.

hesreallyhim and others added 3 commits August 30, 2026 04:11
HEAD requests to any read endpoint now return the same status and
headers as GET with no body, per RFC 9110, implemented centrally in
the worker front door. All responses now carry Strict-Transport-Security
(max-age=86400, to be raised after burn-in) and X-Content-Type-Options:
nosniff, in the worker and the Express app. The method allowlist and
HEAD decision are recorded in ADR 0002.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The audit-language reframing (neutral info.json) was adopted; the
README-presence publication check and aggregate-endpoint removal were
never implemented and are no longer planned. The addendum records the
operating model: GitHub App installation constitutes the maintainer's
consent to public disclosure of all supported badge results.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
policychecks 658aec0 Commit Preview URL

Branch Preview URL
Aug 30 2026, 08:14 AM

@github-code-quality

Copy link
Copy Markdown

Code Coverage Overview

Languages: JavaScript

JavaScript / code-coverage/vitest

The overall line coverage in commit 658aec0 in the fix/mirror-get-for-h... branch remains at 99%, unchanged from commit a724825 in the main branch.

@hesreallyhim hesreallyhim left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@hesreallyhim
hesreallyhim merged commit eb373ff into main Aug 31, 2026
9 checks passed
@hesreallyhim
hesreallyhim deleted the fix/mirror-get-for-head branch August 31, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant