Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change refute to assert_not | Daniel Colson | 2018-01-25 | 1 | -3/+3 |
| | |||||
* | Add secure `X-Download-Options` and `X-Permitted-Cross-Domain-Policies` to ↵ | Guillermo Iguaran | 2017-12-09 | 1 | -1/+1 |
| | | | | default headers set. | ||||
* | Use frozen string literal in actionpack/ | Kir Shatrov | 2017-07-29 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | Do not include default response headers for AC::Metal | Jon Moss | 2017-03-29 | 1 | -0/+30 |
In Rails 4.2, `ActionController::Metal` controllers did not include the default headers from `ActionDispatch::Response`. However, through e16afe6, and a general shift towards having `ActionController::Metal` objects contain `ActionDispatch::Response` objects (instead of just returning an array of status, headers, and body), this behavior was lost. This PR helps to restore the original behavior by having `ActionController::Metal` controllers generate Response objects without the default headers, while `ActionController::Base` now overrides the factory method to make sure its version does have the default headers. |