Had to remove the rewind() added yesterday.

PHP HTTP streams cannot be rewound.
This commit is contained in:
Matt Butcher
2012-01-24 20:31:07 -06:00
parent 99ea808e33
commit 3370feb6a2

View File

@@ -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;
} }