Skip to content
OddsockLocal
Local
Source text

The preview shows up here.

ReadyRuns in this browser. Nothing is uploaded.

How to use

  1. Type part of a header name or part of its description, or leave the box empty.
  2. Read each matching line. The name is before the separator.
  3. Follow ETag to If-None-Match and If-Match. The filter will surface them together.
  4. Put a header on a call with the request builder. This page only defines it.

What is HTTP headers?

The header list is a set of names and one sentence each. Content-Security-Policy restricts browser loading and execution of content. ETag is an opaque representation validator. If-None-Match proceeds only if no current ETag matches. Cache-Control holds the directives for storage and reuse. Authorization carries credentials. Set-Cookie tells the client to store a cookie. The sentences are the job of the header, not sample values.

Read more

Type a fragment. etag matches the ETag line because the filter is a case-insensitive substring of the whole line, so it also hits If-Match and If-None-Match, whose sentences mention ETag. Content-Security-Policy matches that one row. An empty box lists every header in the set. A word that is not on any line is an error.

This is not a live request. The request builder will put headers on a snippet. It will not tell you what Content-Security-Policy means. The status-code list is the neighboring reference for 404 and 429.

Use cases

  • A response includes an ETag and you need the one-line reminder that it is a validator, used with If-None-Match.
  • Content-Security-Policy showed up in a console and you want the sentence before you read the directive grammar.
  • You are choosing between Cache-Control and Expires and you want both lines on screen.
  • A substring such as cookie should find Cookie and Set-Cookie together.

The content security header

Content-Security-Policy

Content-Security-Policy | Restricts browser loading and execution of content.

Why use Oddsock

Substring search is why etag also returns If-None-Match. Those headers are the ones you use with an ETag, and hiding them would be worse.

Related tools

Using this tool

An opaque validator for a representation. If-None-Match sends the validators you already have. If-Match requires one of them to match before the server changes the resource.