http.request.body.multipart.headers.names
http.request.body.multipart.headers.namesArray<Array<String>>The header names of each parsed multipart part, in occurrence order.
Requires a Cloudflare Enterprise plan.
Header names retain their original case. Repeated names appear multiple times.
The outer array follows the same part order as http.request.body.multipart.values. Within each part, each name corresponds to the value at the same index in http.request.body.multipart.headers.values.
A part with a body but no headers has an empty array. Request body inspection and multipart parsing limits apply.
Example value:
[["Content-Type", "X-Upload-Tag", "x-upload-tag"], []]Example usage:
http.request.body.multipart.headers.names[0][0] eq "Content-Type"Categories:
- Request
- Body
- Headers