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 );