guzba / mummy

An HTTP and WebSocket server for Nim that returns to the ancient ways of threads.
MIT License
281 stars 11 forks source link

improved router prototype 2 #112

Closed guzba closed 9 months ago

guzba commented 9 months ago

Similar to https://github.com/guzba/mummy/pull/111 but instead of creating RoutedRequest, this adds properties to Request directly.

Adds:

Incoming HTTP requests with invalid URIs are now logged and dropped.