首页 Function Compute Function Compute FAQ Code development Custom Container FAQ Can I modify the limit on the body size of an HTTP request?

Can I modify the limit on the body size of an HTTP request?

更新时间: 2026-01-17 01:47:28

Function Compute limits the HTTP request body size. For synchronous invocations, the limit is 32 MB. For asynchronous invocations, the limit is 128 KB. To request an increase in the asynchronous invocation limit to 256 KB, submit a ticket. For more information about limits, see HTTP/HTTPS protocol limits.

  • Lower the body size limit

    To block oversized requests, you can set a lower body size limit in your function's code.

  • Multipart upload

    The platform blocks requests that exceed the body size limit. These requests will not reach your function. To transmit a large body, you can use the multipart upload feature of the HTTP protocol to split it into parts.

上一篇: What do I do if a 404 error occurs when I use a browser or the cURL tool to access a function? 下一篇: Custom Image Deployment Fails with "platform of image is unknown/unknown"
阿里云首页 函数计算 相关技术圈