table of contents
other versions
- wheezy 0.9989-1+deb7u1
- wheezy-backports 1.0030-1~bpo70+1
- jessie 1.0033-1
- testing 1.0042-1
- unstable 1.0042-1
Plack::Middleware::XSendfile(3pm) | User Contributed Perl Documentation | Plack::Middleware::XSendfile(3pm) |
NAME¶
Plack::Middleware::XSendfile - Sets X-Sendfile (or a like) header for frontendsSYNOPSIS¶
enable "Plack::Middleware::XSendfile";
DESCRIPTION¶
You should use IO::File::WithPath or Plack::Util's "set_io_path" to add "path" method to an IO object in the body. See http://github.com/rack/rack-contrib/blob/master/lib/rack/contrib/sendfile.rb <http://github.com/rack/rack-contrib/blob/master/lib/rack/contrib/sendfile.rb> for the frontend configuration.AUTHOR¶
Tatsuhiko Miyagawa2011-04-13 | perl v5.14.2 |