kaxil commented on a change in pull request #13499:
URL: https://github.com/apache/airflow/pull/13499#discussion_r560160446
##########
File path: airflow/providers/http/sensors/http.py
##########
@@ -29,7 +29,10 @@ class HttpSensor(BaseSensorOperator):
404 Not Found or `response_check` returning False.
HTTP Error codes other than 404 (like 403) or Connection Refused Error
- would fail the sensor itself directly (no more poking).
+ would raise an exception and fail the sensor itself directly (no more
poking).
+ To avoid fail the task for other codes than 404, the argument
`extra_option`
Review comment:
```suggestion
To avoid failing the task for other codes than 404, the argument
``extra_option``
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]