hapic
hapic copied to clipboard
Output decorator must allow bypass response workaround without context specialized
In hapic.decorator.OutputControllerWrapper#after_wrapped_function
we must directly return response if it's a "already HTTP response". Actually:
- It is hardcoded
- It is bottle specific
Use context to be context agnostic and place this behavior in overrideable method.