airflow-commits mailing list archives

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


ASF subversion and git services commented on AIRFLOW-1016:

Commit 4c41f6e96e0fafd9eb409fa20fb5e62f70fa7f17 in incubator-airflow's branch refs/heads/master
from [~msempere]
[;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

Closes #2175 from msempere/AIRFLOW-1016/allow-

> Allow HTTP HEAD request method on HTTPSensor
> --------------------------------------------
>                 Key: AIRFLOW-1016
>                 URL:
>             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

View raw message