Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | charset should not be appended for `head` responses | Yves Senn | 2012-12-31 | 1 | -0/+1 |
| | | | | | | | 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" | ||||
* | Multiple changes to 1,9 hash syntax | AvnerCohen | 2012-10-27 | 1 | -2/+2 |
| | |||||
* | Collapsed dual checks (one for content headers and one for content) into a ↵ | Armand du Plessis | 2012-08-02 | 1 | -4/+4 |
| | | | | | | | | | | | | single check. Rails includes a single character body to a head(:no_content) response to work around an old Safari bug where headers were ignored if no body sent. This patch brings the behavior slightly closer to spec if :no_content/204 is explicity requested via a head only response. Status comparison done on symbolic and numeric values Not returning any content when responding with head and limited to a status code that explicitly states no content will be returned - 100..199, 204, 205, 304. | ||||
* | If content_type is explicitly passed to the :head method use the value or ↵ | Kunal Shah | 2012-05-08 | 1 | -1/+2 |
| | | | | fallback | ||||
* | Remove content-length as well | twinturbo | 2012-05-03 | 1 | -2/+3 |
| | |||||
* | Make ActionController#head pass rack-link | twinturbo | 2012-05-03 | 1 | -1/+20 |
| | |||||
* | Add ActionController#head example | Alexey Vakhov | 2011-10-11 | 1 | -0/+2 |
| | |||||
* | Fix a few bugs when trying to use Head standalone | wycats | 2010-10-10 | 1 | -4/+2 |
| | |||||
* | Fix header capitalization by explicitly upcasing first letter of every word, ↵ | Maxim Chernyak | 2010-09-18 | 1 | -1/+1 |
| | | | | and avoiding capitalize. [#5636 state:resolved] | ||||
* | Including UrlFor in Redirecting and Head will warn usefully if a controller ↵ | Carlhuda | 2010-02-26 | 1 | -3/+2 |
| | | | | is wired up without a router included (and still support redirect_to "omg") | ||||
* | WIP: Remove the global router | Carlhuda | 2010-02-25 | 1 | -1/+3 |
| | |||||
* | Remove duplicated url_for code and move methods shared between ActionMailer ↵ | José Valim | 2010-01-07 | 1 | -1/+2 |
| | | | | and ActionController up to AbstractController. | ||||
* | AC::Head now doesn't have an unfulfilled Rendering dependency, and instead ↵ | Yehuda Katz | 2009-12-20 | 1 | -1/+6 |
| | | | | works just fine standalone (which means that ConditionalGet also doesn't have a Rendering dependency) | ||||
* | Extract #head into its own module and simplify it | Yehuda Katz | 2009-10-26 | 1 | -0/+27 |