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?
|
// Should we close or rewind?
|
||||||
//fclose($this->handle);
|
// Cannot rewind HTTP streams.
|
||||||
rewind($this->handle);
|
fclose($this->handle);
|
||||||
|
//rewind($this->handle);
|
||||||
|
|
||||||
return $out;
|
return $out;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user