Return content-type header without modification

This is the default in Rails 6.0. I don't think it affects us, though.
This commit is contained in:
Javi Martín
2021-09-18 02:08:16 +02:00
parent 55d4d3cd5c
commit 8d7ce6f428

View File

@@ -17,7 +17,7 @@ Rails.application.config.action_view.default_enforce_utf8 = false
Rails.application.config.action_dispatch.use_cookies_with_metadata = true Rails.application.config.action_dispatch.use_cookies_with_metadata = true
# Change the return value of `ActionDispatch::Response#content_type` to Content-Type header without modification. # Change the return value of `ActionDispatch::Response#content_type` to Content-Type header without modification.
# Rails.application.config.action_dispatch.return_only_media_type_on_content_type = false Rails.application.config.action_dispatch.return_only_media_type_on_content_type = false
# Return false instead of self when enqueuing is aborted from a callback. # Return false instead of self when enqueuing is aborted from a callback.
# Rails.application.config.active_job.return_false_on_aborted_enqueue = true # Rails.application.config.active_job.return_false_on_aborted_enqueue = true