Closed danp closed 13 years ago
Use rewind as the magic method to determine if a body is ready to be rack.input.
rewind
rack.input
Using each has 1.8.7 vs. 1.9.2 problems as in 1.8.7 String responds to each but not rewind as some things expect.
each
I reworked the ensure_acceptable_input method to strictly follow the rack spec. Thanks for the patch!
ensure_acceptable_input
Use
rewind
as the magic method to determine if a body is ready to berack.input
.Using
each
has 1.8.7 vs. 1.9.2 problems as in 1.8.7 String responds toeach
but notrewind
as some things expect.