okayhooni opened a new pull request, #33717:
URL: https://github.com/apache/airflow/pull/33717
I tried to use `HttpSensor` to roll out our Trino cluster(each with single
coordinator) groups periodically with Airflow. In my use case, this `503` error
has to be in whitelist, same as `404 Non Found`.
But, I noticed that `HttpSensor` raise `AirflowException` when the target
responds with `503 Service Temporarily Unavailable`.
How about converting hard-coded `404` to list typed argument
`response_error_codes_whitelist`?
There is already the alternative option with
`extra_option={'check_response': False}`, but the all or nothing method doesn't
seem very fancy for covering all the use 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]