airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-1016) Allow HTTP HEAD request method on HTTPSensor
Date Wed, 05 Apr 2017 15:12:41 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957003#comment-15957003
] 

ASF subversion and git services commented on AIRFLOW-1016:
----------------------------------------------------------

Commit 4c41f6e96e0fafd9eb409fa20fb5e62f70fa7f17 in incubator-airflow's branch refs/heads/master
from [~msempere]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=4c41f6e ]

[AIRFLOW-1016] Allow HTTP HEAD request method on HTTPSensor

This PR provides the HEAD http method on top of GET. This is useful
for getting responses without a body, and provides a lighter weight
response.

Closes #2175 from msempere/AIRFLOW-1016/allow-
http-head-request-method-on-httpsensor


> Allow HTTP HEAD request method on HTTPSensor
> --------------------------------------------
>
>                 Key: AIRFLOW-1016
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1016
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: msempere
>            Assignee: msempere
>            Priority: Minor
>              Labels: features
>             Fix For: 1.9.0
>
>
> HTTPSensor hardcodes the HTTP request method to `GET`, and could be the case where `HEAD`
method is needed to act as a sensor.
> This case is useful when we just need to retrieve some meta data and not the complete
body for that particular request, and that metadata information is enough for our sensor.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message