4Internet / web http

HTTP Accept Media Negotiation Explorer

Compare offered media types against an Accept header and see the governing range and quality for each.

Local calculation · no network request

Explore your inputs

Sample values are prefilled. Review or replace them, then calculate. Input is processed by this server for this request only.

At most 64 ranges. Empty means */*. Quality has at most three decimal places.

One concrete media type per line, maximum 32. Input order is the server preference for ties.

A practical guide

How to use HTTP Accept Media Negotiation Explorer

Compare offered media types against an Accept header and see the governing range and quality for each.

  1. Paste the Accept value and list representations your server can actually produce.
  2. Evaluate the candidates and inspect which range governs each quality.
  3. Use the selected representation as a model of the displayed policy, not evidence of what a remote server will return.

Worked example

Illustrative input and expected interpretation. This example is not a live measurement.

Input

Accept: text/*;q=0.5, application/json; offered: application/json and text/html

What to expect

application/json has quality 1.000 and is selected; text/html has quality 0.500.

What to watch for

  • A specific q=0 exclusion overrides a broader positive wildcard for that representation.
  • This does not negotiate language or compression. Extensions after q are rejected rather than silently interpreted.

Your input: submitted to this server for processing. This tool does not send it to an AI provider. Your input is processed for this request. Temporary processing files are removed afterward. Avoid pasting secrets or personal data.

References