uranusjr commented on code in PR #26880:
URL: https://github.com/apache/airflow/pull/26880#discussion_r988602137
##########
airflow/www/views.py:
##########
@@ -491,6 +491,19 @@ def not_found(error):
)
+def method_not_allowed(error):
+ """Show Method Not Allowed on screen for any error in the Webserver"""
+ return (
+ render_template(
+ 'airflow/method_not_allowed.html',
Review Comment:
I feel we could merge this and the 404 template instead of duplicating most
of the content.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]