falcon
falcon copied to clipboard
Allow setting of default responders when instantiating API
When instantiating an API, before adding any routes + responders, I want to be able to:
api.API(path_not_found=myhook, bad_request=my_bad, ...)
What's the purpose?
One particular use case is to override path_not_found to turn it into a request forwarding mechanism.