- 05 3月, 2014 1 次提交
-
-
由 Prem Sichanugrist 提交于
`render :body` should just not set the `Content-Type` header. By removing the header, it breaks the compatibility with other parts. After this commit, `render :body` will returns `text/html` content type, sets by default from `ActionDispatch::Response`, and it will preserve the overridden content type if you override it. Fixes #14197, #14238 This partially reverts commit 30473768.
-
- 19 2月, 2014 2 次提交
-
-
由 Prem Sichanugrist 提交于
Setting this attribute to `true` will remove the content type header from the request. This is use in `render :body` feature.
-
由 Prem Sichanugrist 提交于
This is an option for sending a raw content back to browser. Note that this rendering option will unset the default content type and does not include "Content-Type" header back in the response. You should only use this option if you are expecting the "Content-Type" header to not be set. More information on "Content-Type" header can be found on RFC 2616, section 7.2.1. Please see #12374 for more detail.
-
- 09 2月, 2014 1 次提交
-
-
由 Dan Kang 提交于
Returning `self` from within the array returned by `to_ary` caused this. Instead, we can just substitute another object. It provides the `each` behavior required by the rack spec.
-
- 01 2月, 2014 1 次提交
-
-
由 Aaron Patterson 提交于
We can just require the file rather than going through the autoload indirection
-
- 03 12月, 2013 1 次提交
-
-
由 Genadi Samokovarov 提交于
-
- 01 9月, 2013 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 16 8月, 2013 1 次提交
-
-
由 Jon Kessler 提交于
update Rails::Railtie::Configuration and ActionDispatch::Response#respond_to? to accept include_private argument
-
- 29 6月, 2013 1 次提交
-
-
由 Aaron Patterson 提交于
request thread to return up the stack before the instance variable is assigned. Synchronize so that the ivar is assigned before the other thread can activate. fixes #10984
-
- 31 5月, 2013 1 次提交
-
-
由 Steve Klabnik 提交于
After some discussion on Twitter with @skud, the documentation on ActionDispatch::Response is a bit sparse. This class is useful when you're writing tests, as often you want to assert various things about the response that's coming back. Better docs would make this easier for people new to testing in Rails. I only added some descriptions for various properties that were defined, and mostly just a sentence or two. Most of these things are familliar if you're working with HTTP, but some words is better than no words at all. Hopefully further commits will fix up things that aren't just documentation.
-
- 22 4月, 2013 1 次提交
-
-
由 Vipul A M 提交于
-
- 16 2月, 2013 1 次提交
-
-
由 wangjohn 提交于
-
- 14 2月, 2013 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 27 1月, 2013 1 次提交
-
-
由 Xavier Noria 提交于
-
- 21 1月, 2013 1 次提交
-
-
由 Matthew Stopa 提交于
-
- 16 1月, 2013 3 次提交
-
-
由 Carlos Antonio da Silva 提交于
[ci skip]
-
由 Matthew Stopa 提交于
[ci skip]
-
由 Matthew Stopa 提交于
-
- 31 12月, 2012 1 次提交
-
-
由 Yves Senn 提交于
1) Failure: test_head_created_with_image_png_content_type(RenderTest) [test/controller/render_test.rb:1238]: Expected: "image/png" Actual: "image/png; charset=utf-8"
-
- 05 12月, 2012 1 次提交
-
-
由 Fabrizio Regini 提交于
-
- 14 8月, 2012 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 09 8月, 2012 1 次提交
-
-
由 Egor Homakov 提交于
-
- 03 8月, 2012 2 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
- 30 7月, 2012 5 次提交
-
-
由 Aaron Patterson 提交于
-
由 Rafael Mendonça França 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 28 7月, 2012 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 13 4月, 2012 1 次提交
-
-
由 Alexey Vakhov 提交于
response in integration test accessible without @ via attr_reader
-
- 14 3月, 2012 1 次提交
-
-
由 Santiago Pastorino 提交于
More info http://edgeguides.rubyonrails.org/api_app.html [Carlos Antonio da Silva & Santiago Pastorino]
-
- 21 12月, 2011 1 次提交
-
-
由 lest 提交于
it was required on ruby 1.8
-
- 13 12月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
Fixes #3957
-
- 08 12月, 2011 1 次提交
-
-
由 kennyj 提交于
-
- 07 12月, 2011 1 次提交
-
-
由 kennyj 提交于
-
- 25 5月, 2011 1 次提交
-
-
由 Josh Kalderimis 提交于
-
- 23 5月, 2011 1 次提交
-
-
由 wycats 提交于
-
- 10 5月, 2011 1 次提交
-
-
由 José Valim 提交于
Fix previous commit by allowing a proc to be given as response_body. This is deprecated and is going to be removed in future releases.
-
- 21 4月, 2011 1 次提交
-
-
由 José Valim 提交于
-