跳转到内容
搜索文档

http.request.body.multipart.content_types

http.request.body.multipart.content_typesArray<Array<String>>

List of Content-Type headers for each part in the multipart body.

Requires a Cloudflare Enterprise plan.

Example value:

[["text/plain"], ["image/jpeg"]]

Example usage:

any(http.request.body.multipart.content_types[*][0] == "application/octet-stream")
Categories:
  • Request
  • Body

这篇文档对您有帮助吗?