New API method: WebGUI::Response::sendFile; it, as appropriate, calls setRedirect or setStreamedFile, depending on enableStreamingUploads config var. setStreamedFile now kicks off the XSendfile process. File.pm now uses this instead of trying to set both a redirect and a stream. IO::File::WithPath blows up if a file doesn't exist so this raises an exception now. The http now no longer insist that '0' is not a valid filename to stream. site.psgi, depending on enableStreamingUploads, enables either the Static or XSendfile middleware. |
||
|---|---|---|
| .. | ||
| _content.skeleton | ||
| Account.pm | ||
| Admin.pm | ||
| AjaxI18N.pm | ||
| Asset.pm | ||
| AssetDiscovery.pm | ||
| AssetHistory.pm | ||
| FacebookAuth.pm | ||
| FilePump.pm | ||
| Maintenance.pm | ||
| NotFound.pm | ||
| Operation.pm | ||
| PassiveAnalytics.pm | ||
| Prefetch.pm | ||
| Referral.pm | ||
| SetLanguage.pm | ||
| Setup.pm | ||
| Shop.pm | ||
| SiteIndex.pm | ||
| Wizard.pm | ||