serve - A simple HTTP server for static files

Martin Nowak via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Mar 22 03:33:37 PDT 2015


On Sunday, 22 March 2015 at 07:11:05 UTC, Suliman wrote:
> Could you explain why pure vibed do not good for static files?

It's mainly a replacement for `python -m SimpleHTTPServer`, and 
is just a very small tool around vibe.d's serveStaticFiles, which 
does a good job at serving static files and works much more 
reliable than the python variant.
https://github.com/MartinNowak/serve/blob/master/source/app.d

I also added index file serving to vibe.d recently.
https://github.com/rejectedsoftware/vibe.d/pull/902


More information about the Digitalmars-d-announce mailing list