Cloudflare Fundamentals - Markdown responses for Cloudflare 1xxx errors
4mo ago
Source
CloudflareCloudflare Fundamentals - Markdown responses for Cloudflare 1xxx errorscloudflare.comCloudflare now returns structured Markdown responses for Cloudflare-generated 1xxx errors when clients send Accept: text/markdown . Each response includes YAML frontmatter plus guidance sections ( What happened / What you should do ) so agents can make deterministic retry and escalation decisions without parsing HTML. In measured 1,015 comparisons, Markdown reduced payload size and token footprint by over 98% versus HTML. Included frontmatter fields: error_code , error_name , error_category , http_status ray_id , timestamp , zone cloudflare_error , retryable , retry_after (when applicable), owner_action_required Default behavior is unchanged: clients that do not explicitly request Markdown continue to receive HTML error pages. Negotiation behavior Cloudflare uses standard HTTP content negotiation on the Accept header. Accept: text/markdown -> Markdown Accept: text/markdown, text/html;q=0.9 -> Markdown Accept: text/* -> Markdown Accept: */* -> HTML (default browser behavior) When multiple values are present, Cloudflare selects the highest-priority supported media type using q values. If Markdown is not explicitly preferred, HTML is returned. Availability Available now for Cloudflare-generated 1xxx errors. Get started curl -H "Accept: text/markdown" Reference: Cloudflare 1xxx error documentation
You might also wanna read
Custom Cloudflare-Style Error Page Generator: Open-Source Tool for Website Error Pages
This article describes an open-source GitHub project called 'cloudflare-error-page' that allows users to create customized error pages mimic
Cloudflare Error 521: Web Server Connection Failure
This appears to be a Cloudflare error page notification indicating that a web server is down with error code 521. The content shows status i
shaun.nz·8mo ago
Author Responds to Criticism of Cloudflare Outage Analysis
The article is a response to criticism about a previous analysis of Cloudflare's outage. The author acknowledges that their earlier piece wa

Comments
Sign in to join the conversation.
No comments yet. Be the first.