potiuk commented on code in PR #26880:
URL: https://github.com/apache/airflow/pull/26880#discussion_r989270163


##########
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:
   Agree. we could easily templatise the html template to rednder differently 
in  both cases.



-- 
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]

Reply via email to