[
https://issues.apache.org/jira/browse/COUCHDB-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14940526#comment-14940526
]
Alexander Shorin commented on COUCHDB-2570:
-------------------------------------------
{{*/*}} doesn't means `application/json`. It means "I'm ready to accept
everything you can provide". It's server decision about what send back on this.
And since browsers are http clients made for humans, there is no reason to
threat them as robots.
If browsers supports `application/json`, they must, as every else good HTTP
client, declare that with Accept header. They don't now and unlikely will in
nearest future. However, there are some extensions to fix that around and with
correct HTTP request CouchDB responds with JSON mime type.
There is nothing more to discuss.
> All Docs reports wrong content-type
> -----------------------------------
>
> Key: COUCHDB-2570
> URL: https://issues.apache.org/jira/browse/COUCHDB-2570
> Project: CouchDB
> Issue Type: Bug
> Security Level: public(Regular issues)
> Reporter: Dominic Barnes
>
> On {{1.6.1}}, the {{/:db/_all_docs}} endpoint only reports {{Content-Type:
> text/plain}} rather than {{application/json}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)