[
https://issues.apache.org/jira/browse/COUCHDB-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13845452#comment-13845452
]
Benjamin Young commented on COUCHDB-348:
----------------------------------------
So clients can be changed far more easily than browser. Additionally, we can do
some User-Agent string sniffing if it comes to that.
curl sends {{Accept: */*}} and {{User-Agent: curl/7.30.0}} fwiw.
Browser sniffing is an old (dark) art, and seems it wouldn't be terrible to
tackle that and default to the {{application/json}} when we can't figure it out.
Certainly a note about the change with a minor (or major) point release along
with contacting client authors directly and even doing a bit of
testing/documenting/pull-requesting would be needed for the smoothest
transition.
It beats not doing it.
> / should redirect to a human readable page when accessed from a browser
> -----------------------------------------------------------------------
>
> Key: COUCHDB-348
> URL: https://issues.apache.org/jira/browse/COUCHDB-348
> Project: CouchDB
> Issue Type: Improvement
> Components: HTTP Interface
> Reporter: Chris Anderson
> Assignee: Robert Newson
> Attachments: COUCHDB_348_01.patch, COUCHDB_348_02.patch,
> COUCHDB_348_03.patch, encs.erl
>
>
> As more people are adopting CouchDB, the number of questions along the lines
> of "All I see is {"couchdb":"Welcome","version":"0.10.0a773399"}, what now?"
> If this page redirected to /_utils/ (or maybe something more user-focussed)
> when the accept headers included html, we could make the first-time user
> experience more palatable.
> There's some code in COUCHDB-234 that might be helpful here.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)