Skip to content

Support shorthand for dataCollection.httpHeaders #24335

Description

@sentry-junior

DataCollection.httpHeaders only accepts { request?, response? }, while the JavaScript user docs advertise true, false, and { allow/deny } shorthand. In JavaScript configs, those shorthand values are silently ignored and both directions fall back to true.

The SDK developer specification permits language-specific shorthand applying to both directions. This is related to #23168, which corrected one affected migration example.

via Charly Gomez.

--

View Junior Session [Sentry]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

javascriptPull requests that update javascript code

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions