HTTP Header Parser
Parse and analyze HTTP headers. Understand header purposes with categorization and explanations.
Entity (2)
Content-Type
application/json; charset=utf-8
The media type of the body
Content-Length
1234
The size of the body in bytes
Caching (1)
Cache-Control
max-age=3600, public
Directives for caching mechanisms
Response (2)
X-Powered-By
Next.js
Technology powering the web application
Set-Cookie
session=abc123; Path=/; HttpOnly; Secure
Send cookies from the server to the client
Security (2)
Strict-Transport-Security
max-age=31536000; includeSubDomains
Force HTTPS connections (HSTS)
Content-Security-Policy
default-src 'self'
Controls resources the browser is allowed to load
HTTP Headers - Technical Details
HTTP headers carry metadata about requests and responses. They control caching, authentication, content types, security policies, and more. Understanding headers is essential for web development and debugging.
Command-line Alternative
// Important headers\nContent-Type: application/json\nCache-Control: max-age=3600\nAuthorization: Bearer token\nStrict-Transport-Security: max-age=31536000