added config.action_dispatch.default_headers.clear to application.rb