--- title: "Deprecation of POST requests without a Content-Length or Transfer-Encoding: chunked header - Shopify developer changelog" description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/deprecation-of-post-requests-without-a-content-length-or-transfer-encoding-chunked-header md: https://shopify.dev/changelog/deprecation-of-post-requests-without-a-content-length-or-transfer-encoding-chunked-header.md --- [Back to Developer changelog](https://shopify.dev/changelog) June 28, 2025 Tags: * Action Required * Admin GraphQL API * Admin REST API * Customer Account API * Payments Apps API * Storefront GraphQL API * Webhook # Deprecation of POST requests without a Content-Length or Transfer-Encoding: chunked header We're making changes to our HTTP/1.0 and HTTP/1.1 request handling to improve security and compliance with web standards. Starting August 1, 2025, all POST requests to Shopify APIs must include either a Content-Length header or Transfer-Encoding: chunked header, or they'll return an HTTP 411 error. **What you need to do** Update your client libraries and API integrations to ensure all POST requests include one of these headers: * `Content-Length`: Specifies the exact size of the request body in bytes * `Transfer-Encoding: chunked`: Indicates the request body is sent in chunks Most modern HTTP client libraries automatically include these headers, but some custom implementations or older libraries might not. **Why we're making this change** This change aligns with HTTP/1.1 standards (RFC 7230) and helps prevent potential security vulnerabilities related to request smuggling attacks. It ensures consistent request handling across our infrastructure.