Skip to content

Commit 9b09853

Browse files
Fix HTTP methods client headers and body (#57)
1 parent 49d070f commit 9b09853

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ CHANGE LOG
22
==========
33

44

5+
## V3.0.1 (UPCOMING)
6+
7+
* Fix HTTP methods client headers and body
8+
9+
510
## V3.0 (11/07/2020)
611

712
* Use PSR-7, PSR-17 and PSR-18 only

composer.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"require": {
1313
"php": "^7.1.3",
1414
"ext-json": "*",
15-
"php-http/client-common": "^2.2",
15+
"php-http/client-common": "^2.3",
1616
"php-http/cache-plugin": "^1.7",
1717
"php-http/discovery": "^1.9",
1818
"php-http/httplug": "^2.1",
@@ -41,5 +41,7 @@
4141
},
4242
"config": {
4343
"preferred-install": "dist"
44-
}
44+
},
45+
"minimum-stability": "dev",
46+
"prefer-stable": true
4547
}

src/HttpClient/Builder.php

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

112112
$this->pluginClient = new HttpMethodsClient(
113113
(new PluginClientFactory())->createClient($this->httpClient, $plugins),
114-
$this->requestFactory
114+
$this->requestFactory,
115+
$this->streamFactory
115116
);
116117
}
117118

0 commit comments

Comments
 (0)