Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default request headers for monitoring are inconsistent with the API and Web console #232

Open
tosuke opened this issue Aug 7, 2024 · 0 comments

Comments

@tosuke
Copy link
Contributor

tosuke commented Aug 7, 2024

The default HTTP request header for external monitoring is Cache-Control: no-cache in the API and Web console.
But in the terraform provider, no header is specified. It is inconsistent and seems not to be helpful.

It is possible to match the behavior by specifying Cache-Control: no-cache as the default, but this is a breaking change.

"headers": {
Type: schema.TypeMap,
Optional: true,
Sensitive: true,
Elem: &schema.Schema{Type: schema.TypeString},
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant