Issue Details (XML | Word | Printable)

Key: JRUBY_RACK-7
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Nick Sieger
Reporter: Nick Sieger
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
jruby-rack

rack.input must be rewindable

Created: 24/Apr/09 06:16 PM   Updated: 27/Apr/09 06:18 AM   Resolved: 27/Apr/09 06:18 AM
Component/s: None
Affects Version/s: 0.9.4
Fix Version/s: 0.9.5

Time Tracking:
Not Specified

Tags:


 Description  « Hide

According to the latest Rack developments, {{env['rack.input']}} should be rewindable, but currently it is not.

This can cause problems with form input processing, for example when using Rack::Request#POST. This method will currently read the entire body and try to rewind it. Because it won't rewind in JRuby-Rack, you no longer have access to the request body.



Nick Sieger added a comment - 27/Apr/09 06:18 AM

Resolved in 9848ad8.