SaturnFramework / Saturn

Opinionated, web development framework for F# which implements the server-side, functional MVC pattern
https://saturnframework.org
MIT License
714 stars 108 forks source link

Suggestion - set 404 status code on not found handlers in sample #140

Closed talbottmike closed 5 years ago

talbottmike commented 5 years ago

This is a tiny one, but I'm looking for a spot to get my feet wet by making a small contribution. If this isn't helpful, feel free to disregard, or even better point me in a direction where I could be more helpful. Thanks

It would be helpful if the sample set the 404 status code when using the not_found_handler.

I used the sample as a starting point for my project and incorrectly assumed that the status code would be set automatically.

Krzysztof-Cieslak commented 5 years ago

Thanks a lot!