Cloudflare 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_statusray_id,timestamp,zonecloudflare_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-> MarkdownAccept: text/markdown, text/html;q=0.9-> MarkdownAccept: text/*-> MarkdownAccept: */*-> 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" https://<your-domain>/cdn-cgi/error/1015Reference: Cloudflare 1xxx error documentation
Source: Cloudflare
Latest Posts
- (Updated) Outlook for Windows report retirement in the Exchange admin center [MC1230889]
![(Updated) Outlook for Windows report retirement in the Exchange admin center [MC1230889] 2 electric pole 2431326 1920](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- AWS Glue Interactive Sessions now support Spark Connect for interactive workloads

- Amazon Quick announces autonomous agents, multi-dataset analytics, and redesigned activity feed

- Amazon RDS for PostgreSQL, MySQL, and MariaDB now supports M9g database instances


![(Updated) Outlook for Windows report retirement in the Exchange admin center [MC1230889] 2 electric pole 2431326 1920](https://mwpro.co.uk/wp-content/uploads/2025/06/electric-pole-2431326_1920-150x150.webp)



