We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
request[bodyInternals]
1 parent 0f29581 commit a922ec0Copy full SHA for a922ec0
packages/remix/src/utils/web-fetch.ts
@@ -88,7 +88,7 @@ export const normalizeRemixRequest = (request: RemixRequest): Record<string, any
88
contentLengthValue = '0';
89
}
90
91
- if (request.body !== null) {
+ if (request.body !== null && request[bodyInternalsSymbol]) {
92
const totalBytes = request[bodyInternalsSymbol].size;
93
// Set Content-Length if totalBytes is a number (that is not NaN)
94
if (typeof totalBytes === 'number' && !Number.isNaN(totalBytes)) {
0 commit comments