Skip to content

Commit 6322705

Browse files
Merge branch '5.4' into 6.4
* 5.4: Removed body size limit
2 parents 6c66e48 + aae5019 commit 6322705

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

AmpHttpClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ public function request(string $method, string $url, array $options = []): Respo
118118
}
119119

120120
$request = new Request(implode('', $url), $method);
121+
$request->setBodySizeLimit(0);
121122

122123
if ($options['http_version']) {
123124
$request->setProtocolVersions(match ((float) $options['http_version']) {

0 commit comments

Comments
 (0)