squeaky-pl / japronto

Screaming-fast Python 3.5+ HTTP toolkit integrated with pipelining HTTP server based on uvloop and picohttpparser.
MIT License
8.61k stars 581 forks source link

Is it possible to receive all requests to a single function? #123

Open agalera opened 6 years ago

agalera commented 6 years ago

I am trying to receive all the requests to a single endpoint, in the end I ended up doing a hack .... but I find it very bad solution

app.error_handler = my_function