Vary: Accept
In short
A response header telling caches that the body depends on the Accept header, so HTML and markdown are stored separately. Example: Cloudflare Markdown for Agents adds Accept to Vary on converted responses. Related terms: Accept header, Content negotiation, Markdown negotiation, Markdown twin, x-markdown-tokens.
Source of the example
The example in the summary above is from developers.cloudflare.com, read 4 November 2026.
Where it shows up on this site
Neighbouring terms
- Accept header: The request header that lists media types a client will take, with optional q weights.
- Content negotiation: The HTTP mechanism where the client states preferred formats in the Accept header and the server picks a representation for the same URL.
- Markdown negotiation: Content negotiation where Accept: text/markdown returns the page as markdown with Content-Type text/markdown.
- Markdown twin: A markdown copy of a page at a predictable URL, such as page.md or page.html.md.
- x-markdown-tokens: A response header Cloudflare adds with the estimated token count of the markdown body.
Sources
- developers.cloudflare.com https://developers.cloudflare.com/fundamentals/reference/markdown-for-agents/, read 4 November 2026
Last reviewed 4 November 2026