ApplicationText-based
application/reports+json
Reporting API
Reference for application/reports+json, the MIME type for the W3C Reporting API used to collect browser-generated reports.
MIME Type Detector
Drop a file to detect its MIME type — no upload, runs in your browser
📄
Drop any file here or click to choose
HTTP Content-Type Header
HTTP Header
Content-Type: application/reports+json; charset=utf-8Quick Facts
| MIME Type | application/reports+json |
| Category | Application |
| Type | Text-based (human-readable) |
Common Usage
The Reporting API allows browsers to send structured reports about deprecations, interventions, crashes, CSP violations, and network errors to a server endpoint. It provides a unified mechanism for monitoring client-side issues in production web applications.
Code Examples
HTML
<!-- Set MIME type in meta or fetch headers -->
<meta http-equiv="Content-Type" content="application/reports+json">Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('application/reports+json');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'application/reports+json' });nginx
# nginx.conf — add to types block or use default
types {
application/reports+json json;
}
# Or set for a specific location
location /api/ {
default_type application/reports+json;
}Related MIME Types
More Application MIME Types
Other application types in the Application family
Related Tools
Explore More MIME Types
Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.