Page MenuHomePhabricator

D19628.id.diff
No OneTemporary

D19628.id.diff

diff --git a/src/future/http/BaseHTTPFuture.php b/src/future/http/BaseHTTPFuture.php
--- a/src/future/http/BaseHTTPFuture.php
+++ b/src/future/http/BaseHTTPFuture.php
@@ -311,7 +311,7 @@
*/
protected function parseRawHTTPResponse($raw_response) {
$rex_base = "@^(?P<head>.*?)\r?\n\r?\n(?P<body>.*)$@s";
- $rex_head = "@^HTTP/\S+ (?P<code>\d+) (?P<status>.*?)".
+ $rex_head = "@^HTTP/\S+ (?P<code>\d+) ?(?P<status>.*?)".
"(?:\r?\n(?P<headers>.*))?$@s";
// We need to parse one or more header blocks in case we got any

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 26, 8:16 AM (4 w, 10 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7326314
Default Alt Text
D19628.id.diff (560 B)

Event Timeline