http.request.body.multipart.headers
http.request.body.multipart.headersArray<Map<Array<String>>>The headers of each parsed multipart part, grouped by lowercase header name.
Requires a Cloudflare Enterprise plan.
The outer array follows the same part order as http.request.body.multipart.values. Each map includes standard and custom headers. Repeated header names share an array of values in occurrence order.
A part with a body but no headers has an empty map. Parts with no headers and an empty body are excluded from the part arrays and counted by http.request.body.multipart.empty_parts_count.
Folded header values are unfolded. Request body inspection and multipart parsing limits apply.
Example value:
[{"content-type": ["text/plain"], "x-upload-tag": ["first", "second"]}, {}]Example usage:
http.request.body.multipart.headers[0]["x-upload-tag"][0] eq "first"Categories:
- Request
- Body
- Headers