kakwa / uts-server

Micro RFC 3161 Time-Stamp server written in C.
http://uts-server.readthedocs.org/en/latest/
MIT License
77 stars 22 forks source link

Corrections to static page handling #17

Open jpralves opened 3 years ago

jpralves commented 3 years ago

The way static page was being sent was not working well (Wrong content-length). I've changed the content of the static page to a const char* and calculated the size on the fly. Some minor changes to the HTML page to be valid HTML (Validated with W3C Validator). Added a notfound_handler for handling favicon.ico requests with 404 responses.