danvk / ssi-server

Server Side Includes in Python's SimpleHTTPServer
Apache License 2.0
41 stars 16 forks source link

Dealing with files that do not exists #2

Closed thedavecollins closed 11 years ago

thedavecollins commented 11 years ago

Dan, I've add some rather ugly code to deal with files that do not exist.

Dave

danvk commented 11 years ago

So what happens if the file does not exist? Does this return a 404 now instead of an error?

Also, out of curiosity, how did you find out about this project? I was pretty impressed how quickly I started getting pull requests after creating it!

thedavecollins commented 11 years ago

Dan, On Fri, 2013-10-18 at 06:57 -0700, Dan Vanderkam wrote:

So what happens if the file does not exist? Does this return a 404 now instead of an error? Yes. It will 404.

Also, out of curiosity, how did you find out about this project? I was pretty impressed how quickly I started getting pull requests after creating it! I think I just googled it.

— Reply to this email directly or view it on GitHub.

danvk commented 11 years ago

Cool, thanks for the change! Pulled.