w3c / reporting

Reporting API
https://w3c.github.io/reporting/
Other
76 stars 36 forks source link

Clarifying behavior when both Reporting-Endpoints and Report-To headers are provided? #267

Open freyalaluna opened 12 months ago

freyalaluna commented 12 months ago

Hello! From my understanding, the current expectation for response headers is that only Report-To or Reporting-Endpoints will be present - not both, and that Reporting-Endpoints should be prioritized in the scenario where both are present. However, the current reporting API specification isn't very clear about this behavior. Could the document be updated to more explicitly define this behavior?

wille commented 4 months ago

I found some details here https://chromium.googlesource.com/chromium/src/+/HEAD/net/reporting/README.md#supporting-both-v0-and-v1-reporting-in-the-same-codebase