class Kemal::Shield::XContentTypeOptions

Overview

Kemal::Shield::XContentTypeOptions is a handler that sets the X-Content-Type-Options HTTP header.

This handler can be turned off by setting

Kemal::Shield.config.no_sniff = false

Defined in:

kemal-shield/handlers/x_content_type_options.cr

Instance Method Summary

Instance Method Detail

def call(context) #

[View source]