Skip to content

Commit d3f8f7a

Browse files
committed
Remove request body limit
1 parent 7829210 commit d3f8f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spec-utils/httpRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export async function requestResolveHeaders(options: { type: string; url: string
8787
const parsed = new url.URL(options.url);
8888
const reqOptions: RequestOptions & tls.CommonConnectionOptions & FollowOptions<any> = {
8989
hostname: parsed.hostname,
90-
maxBodyLength: 100 * 1024 * 1024,
90+
maxBodyLength: Infinity,
9191
port: parsed.port,
9292
path: parsed.pathname + parsed.search,
9393
method: options.type,

0 commit comments

Comments
 (0)