diff options
author | Mislav Marohnić <mislav.marohnic@gmail.com> | 2009-04-17 21:53:44 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-04-17 21:53:44 -0500 |
commit | 7ce0778a1516110cf8015e59e2e8fac15032379c (patch) | |
tree | 8efde4843152fc76d6d6eb010fb173b1f02af2f0 /actionpack/test/dispatch/request/multipart_params_parsing_test.rb | |
parent | 8423bb6a684fd68461faab87149a5bdfea61f43a (diff) | |
download | rails-7ce0778a1516110cf8015e59e2e8fac15032379c.tar.gz rails-7ce0778a1516110cf8015e59e2e8fac15032379c.tar.bz2 rails-7ce0778a1516110cf8015e59e2e8fac15032379c.zip |
Always buffer rack.input if it is not rewindable
Signed-off-by: Joshua Peek <josh@joshpeek.com>
Diffstat (limited to 'actionpack/test/dispatch/request/multipart_params_parsing_test.rb')
-rw-r--r-- | actionpack/test/dispatch/request/multipart_params_parsing_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/dispatch/request/multipart_params_parsing_test.rb b/actionpack/test/dispatch/request/multipart_params_parsing_test.rb index 33c909aad9..88b81dc493 100644 --- a/actionpack/test/dispatch/request/multipart_params_parsing_test.rb +++ b/actionpack/test/dispatch/request/multipart_params_parsing_test.rb @@ -207,6 +207,7 @@ class MultipartParamsParsingTest < ActionController::IntegrationTest def call(env) env['rack.input'].read + env['rack.input'].rewind @app.call(env) end end |