libhttp-server-simple-static-perl

Serve static files with HTTP::Server::Simple

Description

HTTP::Server::Simple::Static is a mixin that adds a method to serve static files from your HTTP::Server::Simple subclass.

The Date and Last-Modified HTTP headers are set when sending a response for a valid file. The method supports clients which send an If-Modified-Since HTTP header in the request, returning a 304 Not Modified response if the file is unchanged. If the client makes a HEAD request no message body will be returned in the response.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/HTTP-Server-Simple-Static


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libhttp-server-simple-static-perl