Join GitHub today
fileserver tries to read directories #256
If you try to request a directory from an HTTP server that routes a request for a directory to the handler returned by
You will get a similar error to this:
I fixed this issue by inserting
On line 132 of fileserver.d.
I am using 0.7.16 with dmd 2.063.2 on Arch Linux 64 bit.
@s-ludwig What kind of directory index support do you think would be good? I'd like to work on it if no one else is already.
I think it should be where the user can specify to either
all by setting things in the
If that's agreeable, should the default directory listing page be a diet template or should it be generated with code? If a template, where should the file go? I don't know what the paths are that are searched by
Somewhat unrelated, but I don't know what use case triggered the problems you guys were having with
Also do you prefer pull requests or patchsets for contributions?