Had to remove the rewind() added yesterday.
PHP HTTP streams cannot be rewound.
This commit is contained in:
@@ -150,8 +150,9 @@ class Response {
|
||||
}
|
||||
|
||||
// Should we close or rewind?
|
||||
//fclose($this->handle);
|
||||
rewind($this->handle);
|
||||
// Cannot rewind HTTP streams.
|
||||
fclose($this->handle);
|
||||
//rewind($this->handle);
|
||||
|
||||
return $out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user