Perhaps the registry API now returns application/vnd+hashicorp.releases-api.v0+json instead of application/json? As a fix, would you be open to getting rid of checking the response header all together? Alternatively we could check both, but since we are handling JSON marshalling errors below, seems like maybe we can just dump this check all together.
The text was updated successfully, but these errors were encountered:
[Plugin] Fix issue with `Content-Type`
Summary of the Pull Request
Fix issue with Content-Type
Refers to: (hashicorp/hc-install#56)
Reviewed-by: Vladimir Vshivkov <None>
Reviewed-by: Anton Sidelnikov <None>