aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/dispatch/response_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add 'X-UA-Compatible' => 'chrome=1' to default headersGuillermo Iguaran2013-01-291-1/+3
|
* Use Encoding::UTF_8 constant :do_not_litter:Akira Matsuda2013-01-281-1/+1
|
* Integrate Action Pack with Rack 1.5Carlos Antonio da Silva2013-01-251-1/+1
| | | | | | All ActionPack and Railties tests are passing. Closes #8891. [Carlos Antonio da Silva + Santiago Pastorino]
* set default_headers to nil after use it to avoid order dependent testsFrancesco Rodriguez2012-09-081-25/+32
|
* Added X-Content-Type-Options to the header defaults.Jim Jones2012-08-181-1/+3
| | | | With a value of "nosniff", this prevents Internet Explorer from MIME-sniffing a response away from the declared content-type.
* some testsEgor Homakov2012-08-091-0/+27
|
* adding a buffered stream to the response objectAaron Patterson2012-07-291-0/+20
|
* fix failure test 'test_can_wait_until_commit(ResponseTest)' in actionpackVladimir Strakhov2012-07-281-2/+2
|
* threads can wait on responses to be committedAaron Patterson2012-07-271-0/+9
|
* deprecate String#encoding_aware? and remove its usageSergey Nartimov2011-12-241-3/+0
|
* use Array#join so that file encoding doesn't impact returned string.Aaron Patterson2011-12-121-0/+9
| | | | Fixes #3957
* Use default charset when we read content type without charset.kennyj2011-12-071-0/+11
|
* Do not inherit from Rack::Response, remove a shit-ton of unused code.José Valim2011-04-191-16/+0
|
* cleaning up some warnings on 1.9.3Aaron Patterson2011-02-071-5/+5
|
* Fix status initialization when custom status providedKrekoten' Marjan2010-10-181-0/+4
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Move ETag and ConditionalGet logic from AD::Response to the middleware stack.José Valim2010-10-031-8/+3
|
* Remove more warnings shadowing outer local variable.Emilio Tagua2010-09-271-8/+8
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove more warnings shadowing outer local variable.Emilio Tagua2010-09-271-8/+8
|
* Rely on set and delete cookie logic from rack.José Valim2010-05-181-0/+4
|
* Reinstate pending tests that were supposed to be fixed before theJoshua Peek2010-02-191-16/+8
| | | | | | beta. Shout louder this time so they actually get fixed.
* Cookies middlewareJoshua Peek2010-01-161-6/+3
|
* Fix bare string Rack response bodiesJeremy Kemper2009-12-231-2/+2
|
* Pending tests for AD ResponseJoshua Peek2009-12-171-0/+113
|
* Don't need response prepare!Joshua Peek2009-12-171-8/+0
|
* 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