1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/dispatch
Matt Venables 991601ff6e Fix rewinding in ActionDispatch::Request#raw_post
If env['RAW_POST_DATA'] is nil, #raw_post will attempt to set it to
the result of #body (which will return env['rack.input'] if
env['RAW_POST_DATA'] is nil). #raw_post will then attempt to rewind
the result of another call to #body. Since env['RAW_POST_DATA'] has
already been set, the result of #body is not env['rack.input'] anymore.
This causes env['rack.input'] to never be rewound.
2012-12-11 16:57:21 -05:00
..
middleware_stack make sure string keys are always looked up from the class cache 2011-03-02 10:11:28 -08:00
request Prevent raising EOFError on multipart GET request. 2012-12-10 21:23:59 +01:00
routing fixing most tests on Ruby 2.0 2012-09-25 15:30:22 -07:00
session Sign cookies using key deriver 2012-11-03 14:57:53 -02:00
best_standards_support_test.rb Fix #8086 (BestStandardsSupport rewrites app X-UA-Compatible header, now appends). 2012-11-01 15:15:46 +04:00
callbacks_test.rb ActionDispatch: add missing test for callbacks 2012-02-16 15:58:58 +02:00
cookies_test.rb Allow users to change the default salt if they want, shouldn't be necessary 2012-11-03 14:57:54 -02:00
debug_exceptions_test.rb Add Missing Keys from Journey on failed URL format 2012-08-28 08:53:45 -07:00
header_test.rb add test for fetch with a block 2012-10-18 15:22:58 -07:00
live_response_test.rb push header merge down to a private method so that live responses can have their own header object 2012-08-13 14:20:04 -04:00
mapper_test.rb Raise a helpful error message on #mount misuse 2012-07-10 16:17:02 -07:00
middleware_stack_test.rb Add the #unshift method to the middleware stack 2012-05-18 16:41:52 +10:00
mime_type_test.rb depreacte unused Mime::Type#verify_request? and Mime::Type.browser_generated_types 2012-09-24 17:24:18 -07:00
mount_test.rb Make sure :via works with mount 2012-08-20 10:25:23 -05:00
prefix_generation_test.rb test case to lock down the behavior of #7842 2012-11-04 15:15:29 +01:00
rack_cache_test.rb Dump and load rack-cache stuff. 2011-05-17 17:33:17 -04:00
rack_test.rb depreacte unused Mime::Type#verify_request? and Mime::Type.browser_generated_types 2012-09-24 17:24:18 -07:00
reloader_test.rb Use a BodyProxy instead of including a Module that responds to close. 2012-01-13 19:46:13 -02:00
request_id_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00
request_test.rb Fix rewinding in ActionDispatch::Request#raw_post 2012-12-11 16:57:21 -05:00
response_test.rb set default_headers to nil after use it to avoid order dependent tests 2012-09-08 14:51:22 -05:00
routing_assertions_test.rb Raise Assertion instead of RoutingError for routing assertion failures. 2012-05-20 06:21:32 -05:00
routing_test.rb Fixed issue where routes with globs caused constraints on that glob to 2012-12-04 14:42:09 +00:00
show_exceptions_test.rb Removed unused assigns from ActionView::Template::Error 2012-01-20 20:13:29 +04:00
spec_type_test.rb Register AD::IntegrationTest for minitest's spec DSL 2012-09-24 15:49:40 -06:00
ssl_test.rb Fix secure cookies when there are more than one space before the secure 2012-03-19 16:31:57 -03:00
static_test.rb Revert "Invert precedence of content in ActionDispatch::Static" 2012-12-07 06:02:43 +00:00
test_request_test.rb Fix bug when Rails.application is defined but is nil. See #881 2012-05-21 15:24:18 -04:00
test_response_test.rb Add ActionDispatch::TestResponse tests. 2010-09-25 10:52:57 +02:00
uploaded_file_test.rb fixes the suite for uploaded files 2012-09-23 00:50:30 +02:00
url_generation_test.rb Add passing tests for generating URLs with nested SCRIPT_NAMEs 2012-05-07 14:53:57 -07:00