Skip to content

Commit 64f6b3c

Browse files
Fix HTTP methods client headers and body (#558)
1 parent 1b48ab6 commit 64f6b3c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

composer.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"ext-json": "*",
2727
"ext-xml": "*",
2828
"php-http/cache-plugin": "^1.7",
29-
"php-http/client-common": "^2.2",
29+
"php-http/client-common": "^2.3",
3030
"php-http/discovery": "^1.9",
3131
"php-http/httplug": "^2.1",
3232
"php-http/multipart-stream-builder": "^1.1",
@@ -55,5 +55,7 @@
5555
},
5656
"config": {
5757
"preferred-install": "dist"
58-
}
58+
},
59+
"minimum-stability": "dev",
60+
"prefer-stable": true
5961
}

src/HttpClient/Builder.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ public function getHttpClient()
114114

115115
$this->pluginClient = new HttpMethodsClient(
116116
(new PluginClientFactory())->createClient($this->httpClient, $plugins),
117-
$this->requestFactory
117+
$this->requestFactory,
118+
$this->streamFactory
118119
);
119120
}
120121

0 commit comments

Comments
 (0)