- Added
--silent
command line option to disable request logging (internal errors are still logged). - Added
--open-browser
command line option to launch a web browser with the server's URL. - Modified behavior when using HTTP/1.0 (the default protocol) to make server single threaded for improved stability.
- Fixed unclosed file handle when exception is thrown while copying to socket.
- Fixed client address in logs and errors that incorrectly showed host address instead.
- Fixed missing early return when request headers cannot be parsed due to being too large.
- Added
--cors
command line option to enable CORS header. - Added
--no-cache
command line option to set appropriate 'Cache-Control' header. - Added
--help
command line option. - Modified 'Server' header to replace 'SimpleHTTP' with 'SnakeServer'.
- Fixed
--directory
option, which was incorrectly ignored.
- Initial release