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.
2 parents bcdae73 + 01f4f2d commit 9000a5fCopy full SHA for 9000a5f
http_client.rst
@@ -670,6 +670,7 @@ when the streams are large)::
670
$client->request('POST', 'https://...', [
671
// ...
672
'body' => $formData->bodyToString(),
673
+ 'headers' => $formData->getPreparedHeaders()->toArray(),
674
]);
675
676
If you need to add a custom HTTP header to the upload, you can do::
0 commit comments