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.
1 parent 1dc88bc commit b8da1d2Copy full SHA for b8da1d2
packages/middleware-expect-continue/src/index.ts
@@ -36,11 +36,6 @@ export function addExpectContinueMiddleware(options: PreviouslyResolved): BuildM
36
const bodyLength =
37
Number(request.headers?.["content-length"]) ?? options.bodyLengthChecker?.(request.body) ?? Infinity;
38
sendHeader = bodyLength >= options.expectContinueHeader;
39
- console.log({
40
- sendHeader,
41
- bodyLength,
42
- threshold: options.expectContinueHeader,
43
- });
44
} catch (e) {}
45
} else {
46
sendHeader = !!options.expectContinueHeader;
0 commit comments