Skip to content

Commit

Permalink
Add 'headers' to template_fields in HttpSensor (#12809)
Browse files Browse the repository at this point in the history
Co-authored-by: Zachary Climes <zclimes@zclimes-DCH2.com>

closes: #12796
  • Loading branch information
zclimes committed Dec 5, 2020
1 parent 37afe55 commit c1cd504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/providers/http/sensors/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def response_check(response, task_instance):
depends on the option that's being modified.
"""

template_fields = ('endpoint', 'request_params')
template_fields = ('endpoint', 'request_params', 'headers')

@apply_defaults
def __init__(
Expand Down

0 comments on commit c1cd504

Please sign in to comment.