Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge 9e985d8 into a04cf06
Browse files Browse the repository at this point in the history
  • Loading branch information
yugeon committed Aug 21, 2019
2 parents a04cf06 + 9e985d8 commit 3c0b54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client/Adapter/Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ public function write($method, $uri, $httpVersion = 1.1, $headers = [], $body =

// cURL automatically handles Proxy rewrites, remove the "HTTP/1.0 200 Connection established" string:
$responseHeaders = preg_replace(
"/HTTP\/1.0\s*200\s*Connection\s*established\\r\\n\\r\\n/",
"/HTTP\/1.[01]\s*200\s*Connection\s*established\\r\\n\\r\\n/",
'',
$responseHeaders
);
Expand Down

0 comments on commit 3c0b54c

Please sign in to comment.