NOTES:
- data-source/http: Previous versions of this provider ignored any
Host
headers specified in therequest_headers
attribute when setting the HTTP request. Any specifiedHost
request header will now be set on the HTTP request.
For example, in the following configuration:
data "http" "example" {
url = "https://www.example.com"
request_headers = {
Host = "www.differentexample.com"
}
}
The HTTP request URL host is still www.example.com
but the HTTP request Host
header will now be www.differentexample.com
instead of www.example.com
.
(#440)
BUG FIXES:
- data-source/http: Allow
Host
header inrequest_headers
to be set on HTTP request (#440)