Analyze and extract information from HTTP headers of a request or response using this online tool
Header name | Description | Example |
---|---|---|
Content-Type | Indicates the media type of the resource. | text/html; charset=utf-8 |
Content-Length | The length of the response body in octets (8-bit bytes). | 348 |
Cache-Control | Specifies directives for caching mechanisms in both requests and responses. | max-age=3600 |
Pragma | Implementation-specific header that may have various effects anywhere along the request-response chain. | no-cache |
Expires | Gives the date/time after which the response is considered stale. | Thu, 01 Dec 1994 16:00:00 GMT |
Last-Modified | Indicates the last modification date of the resource. | Thu, 01 Dec 1994 16:00:00 GMT |
Accept | Advertises which content types the client is able to understand. | text/html, application/xhtml+xml, application/xml;q=0.9, */*;q=0.8 |
Accept-Encoding | Advertises which content encoding the client is able to understand. | gzip, deflate |
Accept-Language | Advertises which languages the client is able to understand, and which locale variant is preferred. | en-US, en;q=0.5 |
Mockoon is a powerful API mocking tool that makes it easy to create and manage mock APIs for prototyping and testing. With an intuitive interface, you can quickly set up mock servers, customize responses, and simulate scenarios in real-time, enhancing team collaboration and speeding up development.
This tool allows you to analyze and extract information from HTTP headers of a request or response. Simply paste the headers in the editor above, separated by a new line, and the tool will automatically extract the header names and display their descriptions and examples.
HTTP headers are the core part of HTTP requests and responses. They carry information about the client, server, request, and response. They are key-value pairs that are separated by a colon. The header name is case-insensitive, while the header value is case-sensitive. Headers are used to pass additional information between the client and server. They can be divided into two categories: request headers and response headers.
Request headers are sent by the client to the server, while response headers are sent by the server to the client. Some headers are common to both requests and responses, while others are specific to either requests or responses. Headers can be used to control caching, authentication, security, and other aspects of the HTTP protocol.