You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/04/05 15:12:41 UTC

[jira] [Commented] (AIRFLOW-1016) Allow HTTP HEAD request method on HTTPSensor

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

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)