Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15435437
D19628.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
560 B
Referenced Files
None
Subscribers
None
D19628.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D19628: Allow empty Reason-Phrases
Attached
Detach File
Event Timeline
Log In to Comment