Skip to content

docs(javascript): clarify HTTP headers require sendDefaultPii - #19070

Open
MHJahanbakhsh wants to merge 1 commit into
getsentry:masterfrom
MHJahanbakhsh:docs/js-http-headers-sendDefaultPii
Open

docs(javascript): clarify HTTP headers require sendDefaultPii#19070
MHJahanbakhsh wants to merge 1 commit into
getsentry:masterfrom
MHJahanbakhsh:docs/js-http-headers-sendDefaultPii

Conversation

@MHJahanbakhsh

@MHJahanbakhsh MHJahanbakhsh commented Aug 16, 2026

Copy link
Copy Markdown

Summary

  • Correct the JavaScript Data Collected docs: HTTP response headers (and most request headers) are not sent by default.
  • Clarify that collecting them requires the deprecated sendDefaultPii: true, or an explicit dataCollection.httpHeaders setting (aligned with the Cookies section and maintainer comments on the issue).
  • Link sendDefaultPii option docs to the HTTP Headers section on Data Collected.

Fixes getsentry/sentry-javascript#20706

Test plan

  • Preview the Data Collected page HTTP Headers section
  • Confirm sendDefaultPii option text links to #http-headers
  • Cross-check wording against Cookies / dataCollection defaults on the same page

Document that response headers (and most request headers) are not
sent by default unless sendDefaultPii or dataCollection.httpHeaders
is enabled, matching maintainer guidance on getsentry/sentry-javascript#20706.
@vercel

vercel Bot commented Aug 16, 2026

Copy link
Copy Markdown

@MHJahanbakhsh is attempting to deploy a commit to the Sentry Team on Vercel.

A member of the Team first needs to authorize it.

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.

HTTP Headers are not sent by default, unless sendDefaultPii is enabled.

1 participant