// AI Platform Drift
Cloudflare Rules adds five multipart body inspection fields
Cloudflare developer changelog · published 2026-11-27 21:19 UTC
WHAT CHANGEDCloudflare added five new Rules fields for inspecting multipart request bodies: http.request.body.multipart.headers (headers grouped by lowercase name), http.request.body.multipart.headers.names (header names in original case and order), http.request.body.multipart.headers.values (header values aligned with names), http.request.body.multipart.preamble (bytes before first boundary), and http.request.body.multipart.empty_parts_count (headerless empty parts skipped during parsing). These fields require an Enterprise plan and are subject to existing request body inspection and multipart parsing limits.
WHY IT MATTERSApplications using Cloudflare Rules to validate or filter file uploads can now inspect per-part headers and metadata that was previously inaccessible, enabling rules like matching custom upload tags on specific parts. The empty-part count and preamble access allow detection of malformed or suspicious multipart payloads.
WHAT TO DOReview your Cloudflare Rules configurations that process multipart uploads. If you need to validate part-specific headers, detect empty parts, or inspect preamble content, add rules using the new fields with the documented array syntax (e.g., http.request.body.multipart.headers[0]["x-upload-tag"][0]).
Model-reported confidence 85% (not measured accuracy)
Primary source ↗
Summary drafted by an AI model and checked by RADAR's rules
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+## Rules - Inspect multipart part headers, preambles, and empty parts +https://developers.cloudflare.com/changelog/post/2026-11-27-multipart-inspection-fields/ +Fri, 27 Nov 2026 00:00:00 GMT + +Five new Rules fields provide more detail about multipart request bodies: + +Field +Contents + +http.request.body.multipart.headers +Standard and custom headers grouped by lowercase name for each part. + +http.request.body.multipart.headers.names +Header names in original case and occurrence order for each part. + +http.request.body.multipart.headers.values +Header values aligned with the names for each part. + +http.request.body.multipart.preamble +Original bytes before the first boundary delimiter. + +http.request.body.multipart.empty_parts_count +Headerless, empty-body parts skipped during parsing. + +For example, match a custom header on the first parsed part: +http.request.body.multipart.headers[0]["x-upload-tag"][0] eq "review" +Header arrays preserve part association and duplicate headers. The preamble includes the line ending before the first delimiter. The empty-part count includes only parts encountered before parsing stops. +These fields require an Enterprise plan. Request body inspection and multipart parsing limits apply. +For details, refer to the multipart headers, preamble, and empty-part count field references.
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
| triage verdict | Material (MATERIAL) at 0.92, needed 0.5 |
|---|---|
| triage reasoning | Five new multipart inspection fields added to Rules API with enterprise-plan gating and specific parsing semantics. |
| signals | new API fields added · five new Rules inspection fields for multipart bodies · enterprise plan requirement stated · future date: 2026-11-27 · new capability: multipart header inspection, preamble access, empty-part counting · breaking change potential: parsing behavior documented (empty parts skipped, line endings included) |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |