BuildDocsReferenceGuidesBlogDiscordnode:httpServerResponsestrictContentLengthBuildDocsReferenceGuidesBlogDiscordnode:httpServerResponsestrictContentLengthhttp.ServerResponse.strictContentLengthstrictContentLengthReferenceDocsGuidesDiscordMerch StoreGitHubBlogRuntimePackage managerTest runnerBundlerPackage runnerBun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseWe're hiring →
ServerResponse.strictContentLength property | Node.js http module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- If set to `true`, Node.js will check whether the `Content-Length` header value and the size of the body, in bytes, are equal.
Mismatching the `Content-Length` header value will result
in an `Error` being thrown, identified by `code:``