Github user rnewson commented on the pull request:
https://github.com/apache/couchdb/pull/284#issuecomment-64911996
I proposed this semantic on the ticket;
if Accept line is *exactly* "application/json", then send application/json,
otherwise send text/html.
That puts a surmountable requirement on XHR calls and doesn't require
browsers to send sensible Accept headers (which they probably never will).
At this point, someone from the Fauxton team should chip in, perhaps all
this ugliness is really because of Futon and we can make a clean break?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---