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

fix(peer_server) set content type to application/json in admin #865

Merged
merged 1 commit into from
Jun 23, 2014

Conversation

robstrong
Copy link
Contributor

Fixes #853

This sets the Content-Type header to application/json for the /v2/admin/ urls.

@philips
Copy link
Contributor

philips commented Jun 23, 2014

lgtm. /cc @unihorn

@yichengq
Copy link
Contributor

lgtm. Thanks for the PR! 👍

yichengq added a commit that referenced this pull request Jun 23, 2014
fix(peer_server) set content type to application/json in admin
@yichengq yichengq merged commit 5524131 into etcd-io:master Jun 23, 2014
@robn
Copy link
Contributor

robn commented Jun 23, 2014

Thanks @robstrong 👍

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

Successfully merging this pull request may close these issues.

Cluster admin endpoint returns JSON data with text/plain content type
4 participants