Accept
Tells the server which response formats the client can handle.
Accept: application/json Comprehensive HTTP header guide organized by type. Request, response, security, and caching headers with descriptions and examples.
Reference mode
Directly fetching arbitrary response headers from browser-only JavaScript is heavily limited by CORS, so this tool focuses on the headers you should recognize, inspect, and copy while debugging requests.
Tells the server which response formats the client can handle.
Accept: application/json Carries credentials such as Bearer tokens or API keys.
Authorization: Bearer <token> Describes the media type of the request body.
Content-Type: application/json Identifies the client application making the request.
User-Agent: Mozilla/5.0 Reports the size of the response body in bytes.
Content-Length: 2048 Shows whether the response is compressed.
Content-Encoding: br Points to the redirect destination for 3xx responses.
Location: https://example.com/login Identifies the server software that handled the response.
Server: cloudflare Forces future requests to use HTTPS.
Strict-Transport-Security: max-age=31536000; includeSubDomains Restricts which resources the browser may load.
Content-Security-Policy: default-src 'self' Controls whether the page can be embedded in a frame.
X-Frame-Options: DENY Defines how much referrer information is sent.
Referrer-Policy: strict-origin-when-cross-origin Defines caching behavior for browsers and CDNs.
Cache-Control: public, max-age=3600 Provides a version identifier for cache validation.
ETag: "v3-6f2a" Sets a fixed expiration date for cached content.
Expires: Wed, 01 Jan 2026 00:00:00 GMT Shows when the resource last changed.
Last-Modified: Tue, 09 Jan 2024 15:04:05 GMT How to use
HTTP headers carry metadata about requests and responses. Understanding them is essential for debugging API issues, configuring security, and optimizing performance.
Security headers like Content-Security-Policy, X-Frame-Options, and Strict-Transport-Security are critical for protecting web applications from common attacks.
More Dev tools
Related tools
dev
Test regex patterns with live match highlighting, capture groups, flags, and reusable developer snippets.
dev
Create beautiful CSS gradients with a visual editor. Choose linear or radial gradients, pick colors, adjust angles, and copy the CSS code instantly.
dev
Design perfect CSS box-shadow effects with a visual editor. Adjust offset, blur, spread, color, and inset to create shadows and copy ready-to-use CSS.
converter
Convert JSON arrays to CSV and CSV to JSON instantly in your browser. Download CSV files with one click.