Remove default headers

This commit is contained in:
Jure Grabnar 2016-08-18 14:35:18 +02:00
parent 1b260785ec
commit 3217271efe

View file

@ -30,11 +30,11 @@ module Scinote
"[#{datetime}] #{severity}: #{msg}\n"
end
config.action_dispatch.default_headers = {
'X-WOPI-Lock' => "",
'Random-header' => "with value",
'Random-non-special-header' => "a"
}
#config.action_dispatch.default_headers = {
#'X-WOPI-Lock' => "",
#'Random-header' => "with value",
#'Random-non-special-header' => "a"
#}
# Paperclip spoof checking
Paperclip.options[:content_type_mappings] = {:csv => "text/plain", wopitest: ['text/plain', 'inode/x-empty'] }