candango / firenado

Web Framework that extends Tornado Web organizing the application, and adding extra features.
Apache License 2.0
12 stars 9 forks source link

When writing an error the component handler will enter in infinite loop. #366

Closed piraz closed 3 years ago

piraz commented 3 years ago

Both get_error_handler on component and component handler have a pass instead of returning None, that will make the write error method enter in an infinite loop.

Solution here is return None on get_error_handler from component and component handler.

piraz commented 3 years ago

Problem persists when a method is not allowed (i.e. trying to access a post method via get).