Page MenuHomePhabricator

http.diff

Authored By
bzimport
Nov 21 2014, 11:24 PM
Size
543 B
Referenced Files
None
Subscribers
None

http.diff

Index: HttpFunctions.php
===================================================================
--- HttpFunctions.php (revision 84116)
+++ HttpFunctions.php (working copy)
@@ -785,7 +785,13 @@
return $this->status;
}
- if ( $this->status->isOK() ) {
+ // If everything went OK, or we recieved some error code.
+ // get the response body content.
+ var_dump("Got here");
+ if ( $this->status->isOK()
+ || (int)$this->respStatus >= 300 )
+ {
+ var_dump("read body");
while ( !feof( $fh ) ) {
$buf = fread( $fh, 8192 );

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6978
Default Alt Text
http.diff (543 B)

Event Timeline