Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
hc-github-team-tf-provider-devex committed Jul 31, 2024
1 parent 270412b commit 25bea2d
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 22 deletions.
22 changes: 22 additions & 0 deletions .changes/3.4.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## 3.4.4 (July 31, 2024)

NOTES:

* data-source/http: Previous versions of this provider ignored any `Host` headers specified in the `request_headers` attribute when setting the HTTP request. Any specified `Host` request header will now be set on the HTTP request.

For example, in the following configuration:
```hcl
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](https://github.com/hashicorp/terraform-provider-http/issues/440))

BUG FIXES:

* data-source/http: Allow `Host` header in `request_headers` to be set on HTTP request ([#440](https://github.com/hashicorp/terraform-provider-http/issues/440))

5 changes: 0 additions & 5 deletions .changes/unreleased/BUG FIXES-20240719-143606.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions .changes/unreleased/NOTES-20240723-162543.yaml

This file was deleted.

22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
## 3.4.4 (July 31, 2024)

NOTES:

* data-source/http: Previous versions of this provider ignored any `Host` headers specified in the `request_headers` attribute when setting the HTTP request. Any specified `Host` request header will now be set on the HTTP request.

For example, in the following configuration:
```hcl
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](https://github.com/hashicorp/terraform-provider-http/issues/440))

BUG FIXES:

* data-source/http: Allow `Host` header in `request_headers` to be set on HTTP request ([#440](https://github.com/hashicorp/terraform-provider-http/issues/440))

## 3.4.3 (June 03, 2024)

BUG FIXES:
Expand Down

0 comments on commit 25bea2d

Please sign in to comment.