Plack::Middleware::IEnosniff - added HTTP Header 'X-Content-Type-Options: nosniff'
enable 'IEnosniff';
you can set 'only_ie' option, if you want to send 'X-Content-Type-Options: nosniff' for IE8 only.
enable 'IEnosniff', only_ie => 1;
Plack::Middleware::IEnosniff is middleware for Plack. This middleware adds HTTP Header 'X-Content-Type-Options: nosniff' for safe. Sending X-Content-Type-Options response header with the value nosniff will prevent Internet Explorer from MIME-sniffing a response away from the declared content-type.
Plack::Middleware::IEnosniff is hosted on github <http://github.com/bayashi/Plack-Middleware-IEnosniff>
Dai Okabayashi <bayashi@cpan.org>
Plack::Middleware
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install Plack::Middleware::IEnosniff, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::IEnosniff
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::IEnosniff
For more information on module installation, please visit the detailed CPAN module installation guide.