← All tools

HTTP Header Inspector: Request & Response Fields

Inspect pasted HTTP header blocks, retain field order and duplicate values, and create a masked report without sending a request.

http-header-inspectorLOCAL WORKSPACE

Enabling local controls…

HTTP header reference

Look up common field names, directions and example values. Examples are shown as HTTP/1.x text.

GET /catalog HTTP/1.1
Host: api.example.invalid
Accept: application/json
Accept-Language: zh-TW, en;q=0.7
Authorization: Bearer DEMO_TOKEN

42 matching fields

FieldDirection and useExample value
AcceptRequest-capable

Preferred response media types.

application/json
Accept-EncodingRequest-capable

Content codings the client can decode.

gzip, br
Accept-LanguageRequest-capable

Languages the client prefers, with optional quality weights.

zh-TW, en;q=0.7
Access-Control-Allow-CredentialsResponse-capable

Allows credentialed CORS access when paired with an explicit allowed origin.

true
Access-Control-Allow-HeadersResponse-capable

Request fields a CORS preflight authorizes.

Content-Type, X-Request-ID
Access-Control-Allow-MethodsResponse-capable

Request methods a CORS preflight authorizes.

GET, POST
Access-Control-Allow-OriginResponse-capable

The origin allowed to read this response under CORS.

https://app.example.invalid
AuthorizationRequest-capable

Credentials for the target resource. Replace the placeholder locally.

Bearer DEMO_TOKEN
Cache-ControlBoth directions

Cache directives. The no-cache directive requires validation before reuse under applicable rules.

no-cache
ConnectionBoth directions

Options for this HTTP/1.x hop, such as closing the connection after the response.

close
Content-EncodingBoth directions

Coding applied to the enclosed representation.

gzip
Content-LengthBoth directions

Message content size in octets when applicable.

128
Content-Security-PolicyResponse-capable

Browser policy for loading or executing resources and other selected actions.

default-src 'self'; object-src 'none'
Content-TypeBoth directions

The media type of the enclosed representation.

application/json
CookieRequest-capable

Cookies the client sends for the request context.

theme=light
DateBoth directions

The HTTP date when the message originated.

Sun, 22 Nov 2026 12:00:00 GMT
ETagResponse-capable

Opaque identifier for a selected representation, used in conditional requests.

"catalog-v7"
ExpiresResponse-capable

The date after which the response is considered stale if a higher-priority freshness directive does not apply.

Sun, 22 Nov 2026 13:00:00 GMT
ForwardedRequest-capable

Standard proxy-chain metadata. Interpret it according to your trusted proxy configuration.

for=192.0.2.17;proto=https
HostRequest-capable

The host and optional port of the HTTP/1.1 request target.

api.example.invalid
If-Modified-SinceRequest-capable

Makes a retrieval conditional on a modification date.

Sun, 22 Nov 2026 12:00:00 GMT
If-None-MatchRequest-capable

Makes an action conditional on the selected representation not matching the supplied tags.

"catalog-v7"
Last-ModifiedResponse-capable

The origin server’s stated last modification time.

Sun, 22 Nov 2026 11:00:00 GMT
LocationResponse-capable

URI reference for a redirect target or the location of a created resource.

/catalog/v2
OriginRequest-capable

The origin associated with the request, when sent.

https://app.example.invalid
Permissions-PolicyResponse-capable

Controls whether documents can use selected browser features.

geolocation=(), camera=()
RefererRequest-capable

The referring URI, subject to referrer policy and browser rules.

https://app.example.invalid/docs
Referrer-PolicyResponse-capable

Controls the information sent in Referer for subsequent requests.

strict-origin-when-cross-origin
Retry-AfterResponse-capable

Suggested delay in seconds or an HTTP date before a follow-up request.

120
ServerResponse-capable

Optional information about software that handled the response.

ExampleOrigin/1.0
Set-CookieResponse-capable

Cookie instructions. Write separate field lines for separate cookies.

theme=light; Path=/; Secure; SameSite=Lax
Strict-Transport-SecurityResponse-capable

Asks a supporting browser to use HTTPS for this host following a secure response.

max-age=31536000
Transfer-EncodingBoth directions

Transfer coding for HTTP/1.1 framing, separate from representation encoding.

chunked
User-AgentRequest-capable

Optional application identification supplied by the client.

ExampleClient/1.0
VaryResponse-capable

Request fields that influenced response selection and can affect cache matching.

Accept-Encoding, Origin
ViaBoth directions

A record of intermediaries involved in forwarding.

1.1 cache.example.invalid
WWW-AuthenticateResponse-capable

Authentication challenges for the requested resource.

Basic realm="Example"
X-Content-Type-OptionsResponse-capable

Tells browsers to apply MIME-type restrictions for relevant requests.

nosniff
X-Forwarded-ForRequest-capable

Deployment convention for client or proxy addresses. Use the chain only at a trusted proxy boundary.

192.0.2.17
X-Frame-OptionsResponse-capable

Controls framing in supporting browsers. CSP frame-ancestors provides additional options.

DENY
X-Requested-WithRequest-capable

Application convention used by some JavaScript clients.

XMLHttpRequest
X-XSS-ProtectionResponse-capable

Legacy filter setting. The example disables the browser’s legacy filter.

0

IANA HTTP Field Name Registry

1. Paste a header block

Page-memory only; no requests. Limits: 1 MiB UTF-8, 502 lines, 500 fields, 16,384 characters per line; report: 2 MiB. One HTTP/1.0 or 1.1 textual block, LF/CRLF. No body, multiple blocks, obsolete folding, HTTP/2 wire or pseudo headers.

Without a start line, select Request or Response explicitly. Duplicate fields retain their order; Set-Cookie is never merged.

All values (including custom fields) and start lines are masked by default. Hidden after 15 s, paste, inspection or leaving the tab. Copied/downloaded reports always redact every value; field names may still be private, so review before sharing. This is not a security audit.

More header examples

2. Line diagnostics and redacted report

Paste a block or load a sample, then inspect.

How to use this tool

Paste a header block, choose its request or response context and inspect line diagnostics and duplicate fields. Reveal values deliberately; use the masked report for sharing.

When not to use it

This is not a remote endpoint tester or a full HTTP wire parser. A pasted block cannot establish authenticity, transport security or what a browser actually received.

Read the guide →