NAME

Plack::Middleware::IEnosniff - added HTTP Header 'X-Content-Type-Options: nosniff'

SYNOPSIS

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;

DESCRIPTION

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.

METHOD

call

REPOSITORY

Plack::Middleware::IEnosniff is hosted on github <http://github.com/bayashi/Plack-Middleware-IEnosniff>

AUTHOR

Dai Okabayashi <bayashi@cpan.org>

SEE ALSO

Plack::Middleware

LICENSE

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.