d2iq-archive / mesos-dns

DNS-based service discovery for Mesos.
https://mesosphere.github.com/mesos-dns
Apache License 2.0
483 stars 137 forks source link

resolver: specify valid Accept content types #497

Closed gpaul closed 7 years ago

gpaul commented 7 years ago

This PR fixes an issue where specifying Accept: application/json incorrectly resulted in a 406 Not Acceptable response.

Fixes https://jira.mesosphere.com/browse/DCOS_OSS-611

gpaul commented 7 years ago

@nlsun @jdef @alberts PTAL