Skip to main content
>_devtools

Accept Header Parser

Parse Accept, Accept-Language or Accept-Encoding values and rank offered representations by their q-values.

What this does

Parse Accept, Accept-Language or Accept-Encoding values and rank offered representations using q-values. Choose the header kind and enter the values offered by a server.

Example

Accept: text/html, application/json;q=0.9
Offered: application/json, text/html
Selected: text/html

Limits and behavior

  • Invalid or duplicate q-values are reported by the parser.
  • Negotiation compares only the values you provide as offered representations.