Skip Menu |

This queue is for tickets about the Catalyst-Plugin-Static-Simple CPAN distribution.

Report information
The Basics
Id: 123644
Status: new
Priority: 0/
Queue: Catalyst-Plugin-Static-Simple

People
Owner: Nobody in particular
Requestors: rrwo [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [RFE] Use IO::File::WithPath to work with Plack::Middleware::XSendfile
Date: Thu, 16 Nov 2017 13:46:14 +0000
To: bug-Catalyst-Plugin-Static-Simple [...] rt.cpan.org
From: Robert Rothenberg <rrwo [...] cpan.org>
In the _serve_static method, if you use IO::File::WithPath instead of IO::File, then the module will work nicely with Plack::Middleware::XSendfile. (Probably the easiest way to add this is to add an io_class configuration option that defaults to IO::File.)