class Kemal::Shield::XDownloadOptions
- Kemal::Shield::XDownloadOptions
- Kemal::Shield::Handler
- Kemal::Handler
- Reference
- Object
Overview
Kemal::Shield::XDownloadOptions
is a handler that sets the X-Download-Options HTTP header.
Setting X-Download-Options to "noopen" helps preventing Internet Explorer users from executing downloads in your site's context.
This handler can be turned off by setting:
Kemal::Shield.config.x_download_options = false