module Lucky::SecureHeaders::SetSniffGuard

Overview

This module sets the HTTP header X-Content-Type-Options. It's job is responsible for disabling mime type sniffing. For more information, read up on MIME type security.

Include this module in the actions you want to add this to.

class BrowserAction < Lucky::Action
  include Lucky::SecureHeaders::SetSniffGuard
end

Defined in:

lucky/secure_headers/set_sniff_guard.cr