serve - A simple HTTP server for static files

Walter Bright via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Mar 22 12:56:49 PDT 2015


On 3/22/2015 3:33 AM, Martin Nowak wrote:
> 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

If you could write a brief article about it, that would be great! I think 
there's a lot of potential for D in that space, and having such articles will 
help promulgate the idea.


More information about the Digitalmars-d-announce mailing list