Set charset in content-type header
This commit is contained in:
@@ -22,10 +22,6 @@ module Adamantium
|
||||
handle_exception ROM::TupleCountMismatchError => :not_found
|
||||
handle_exception StandardError => :handle_error
|
||||
|
||||
config.default_headers = {
|
||||
"Content-Type" => "application/octet-stream"
|
||||
}
|
||||
|
||||
def cache(key:, content:)
|
||||
cacher.call(key: key, content: content, expiry: TimeMath.min.advance(Time.now, +10))
|
||||
end
|
||||
|
Reference in New Issue
Block a user