You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/10/02 05:57:13 UTC

[GitHub] [airflow] dakshin-k commented on issue #26375: Airflow Webserver returns incorrect HTTP Error Response for custom REST API endpoints

dakshin-k commented on issue #26375:
URL: https://github.com/apache/airflow/issues/26375#issuecomment-1264559814

   Hi @potiuk , could I be assigned to this issue please?
   
   Also, I have a couple questions on how to go about this, would be good to get an opinion from someone who knows the codebase better:
   
   1. Is [this](https://github.com/apache/airflow/blob/0da49935000476b1d1941b63d0d66d3c58d64fea/tests/api_connexion/test_error_handling.py) the right place to go about adding a test for this? 
   2. What is the expected behaviour for a 405 error? I'm guessing we want to use the `common_error_handler` function so it'll return a JSON response instead of a view
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org