Skip to content

Send the State token for GET Events calls in a header, not the query string #761

Done

Description

@JuroOravec

When an Events GET handler uses State, the browser sends the State token in the query string. Query strings are commonly written to access logs and proxy logs, so the token ends up there.

Proposal: send the token in a request header for GET calls.

The Events v1 wire format is frozen (#693), so this needs one of:

  • an added, optional header, with the query parameter still accepted, or
  • a new protocol version (citry-events/2) that ships beside v1.

Either way it needs a plan that covers the contract version check (see "Contract versions" in docs/codebase.md) and both the server and the browser runtime.

🤖 Generated with Claude Code

Activity

  1. added this to the 1.1.0 milestone on Nov 18, 2026
  2. added
    next-sprint
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    next-sprint

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions