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

add ability to specify response headers on the HTTP API #558

Merged
merged 1 commit into from
Jan 5, 2015
Merged

add ability to specify response headers on the HTTP API #558

merged 1 commit into from
Jan 5, 2015

Conversation

ceh
Copy link
Contributor

@ceh ceh commented Dec 28, 2014

Add an configuration object that allows adding HTTP header response fields to every
HTTP API response.

Each specified header is added to every response from all HTTP API endpoints.
Each individual endpoint may overwrite the specified header, which makes sure
that Consul headers such as 'X-Consul-Index' is enforced by the API.

Closes #335

Add an config object that allows adding HTTP header response fields to every
HTTP API response.

Each specified header is added to every response from all HTTP API endpoints.
Each individual endpoint may overwrite the specified header, which makes sure
that Consul headers such as 'X-Consul-Index' is enforced by the API.
armon added a commit that referenced this pull request Jan 5, 2015
add ability to specify response headers on the HTTP API
@armon armon merged commit f86d7c3 into hashicorp:master Jan 5, 2015
@armon
Copy link
Member

armon commented Jan 5, 2015

LGTM! Thanks!

@ceh ceh deleted the http-api-response-headers branch January 6, 2015 07:17
johncowen pushed a commit that referenced this pull request May 4, 2018
add ability to specify response headers on the HTTP API
duckhan pushed a commit to duckhan/consul that referenced this pull request Oct 24, 2021
* Update v1beta1 to v1 for webhook cert manager
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

Successfully merging this pull request may close these issues.

Add CORS headers to allow JavaScript applications direct access
2 participants