Rewind input
Reported by josh | December 28th, 2008 @ 09:47 PM | in 0.9
Problem: If any middleware uses Rack::Request to read params, then code under it can not read the input stream until it is rewound. The multipart parser does the right thing and rewinds after, but the params parser did not.
Another issue is that some inputs can not be rewound. We can not call rewind on CGI input, but how do we workaround the first issue?
Let me know if I should revert http://github.com/rack/rack/comm... for now.
Comments and changes to this ticket
-
josh December 29th, 2008 @ 05:50 PM
- no changes were found...
-
chneukirchen (at gmail) December 29th, 2008 @ 08:04 PM
rewind when possible sounds like a fair compromise.
I don't think we can fix this on CGI else.
-
josh December 29th, 2008 @ 08:21 PM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป