aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/response_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove legacy processing and content_lengthYehuda Katz2009-08-021-4/+2
| | | | | | | | | | | * convert_content_type! is handled by assign_default_content_type_and_charset! * set_content_length! should be handled by the endpoint server. Otherwise each middleware that modifies the body has to do the expensive work of recalculating content_length. * convert_language! appears to be legacy. There are no tests for this * convert_cookies! should be handled by the new HeaderHash in Rack * Use an integer for .status's internal representation to avoid needing to do String manipulation just to find out the status
* Update cache_control to be a Hash of options that is used to build the header.Yehuda Katz2009-08-021-2/+2
| | | | * Significantly simplifies setting and modifying cache control in other areas
* Move useful response test helpers into requestJoshua Peek2009-04-261-0/+47
|
* Create a new file for response testsJoshua Peek2009-04-261-0/+83