✨ [RUM-6798] Capture resource content type#4270
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: a958fcd | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback! |
11bde9a to
7a95b22
Compare
Bundles Sizes Evolution
🚀 CPU PerformancePending... 🧠 Memory Performance
|
|
recheck |
|
I have read the CLA Document and I hereby sign the CLA |
b726dcf to
7cfaff8
Compare
packages/rum-core/src/domain/resource/resourceCollection.spec.ts
Outdated
Show resolved
Hide resolved
90a6e40 to
2a7a740
Compare
2a7a740 to
973fd4f
Compare
973fd4f to
a958fcd
Compare
|
/to-staging |
|
View all feedbacks in Devflow UI.
Commit a958fcd45d will soon be integrated into staging-11.
Commit a958fcd45d has been merged into staging-11 in merge commit bd59d9a3d3. Check out the triggered DDCI request. If you need to revert this integration, you can use the following command: |
…ing-11 Integrated commit sha: a958fcd Co-authored-by: bdibon <boris.dibon@datadoghq.com>
Motivation
Web Browsers are about to support the
PerformanceResourceTiming.contentTypeproperty, this will enable the browser-sdk to add a content type to resources that have not been manually retrieved via thefetchorXMLHttpRequestAPIs.Changes
contentTypeproperty on resource entriesresource.response.headers(see RUM-14562 Add request and response headers to resource schema rum-events-format#351)PerformanceResourceTimingand setresource.response.headers["content-type"]when relevantTest instructions
Send events to intake (from FIREFOX!), your resources (but manual fetch/XHR calls) will have the new content-type field.
Checklist
Updated documentation and/or relevant AGENTS.md file