kaxil commented on a change in pull request #13499:
URL: https://github.com/apache/airflow/pull/13499#discussion_r560160307



##########
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`
+    can be passed with the value `{'check_response': False}`. It will make the 
`response_check`

Review comment:
       ```suggestion
       can be passed with the value ``{'check_response': False}``. It will make 
the ``response_check``
   ```




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


Reply via email to