Skip to content

CORS headers not present on API requests that 404 and maybe 5xx #5262

@G-Rath

Description

@G-Rath

Support was added in #3222 but looks to have gone again:

❯ curl -sSL -D - -o /dev/null -H 'Origin: localhost:3000' -d '{}'     "https://api.osv.dev/v1/query1"
HTTP/2 404
content-type: application/json
x-envoy-decorator-operation: ingress UnknownOperationName
x-cloud-trace-context: f1935a9e4c4ee53532c97f7297f20d17
date: Tue, 21 Apr 2026 21:51:56 GMT
server: Google Frontend
content-length: 73

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions