-
-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Description
Usage of HTTP/2 for multiple concurrent POST requests causes 400 errors on nginx 1.18.0, switching to HTTP/1.1 fixes everything.
Reproduces even without concurrent requests with the following form body:
$data = \file_get_contents('https://github.com/danog/rpc-db/releases/download/latest/core.json');
$finfo = new finfo(FILEINFO_MIME_TYPE);
$bodyNew = new Form();
$bodyNew->addStream("0", BufferedContent::fromString($data, $finfo->buffer($data)), \basename($href));
$newPage = new Request(Pusher::PUSH_FILE, 'POST');
$newPage->setBody($bodyNew);Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels