[ 
https://issues.apache.org/jira/browse/COUCHDB-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843248#comment-13843248
 ] 

Benjamin Young commented on COUCHDB-348:
----------------------------------------

What if we had this backwards? What if {{/}} defaulted to {{text/html}} unless 
the client (aka, CouchDB libraries, HTTP libs, etc) explicitly requested 
otherwise?

Browsers, then get Futon/Fauxton handed to them. Clients that hit the {{/}} 
resource (mostly Futon & Fauxton, I'd recon), then be sure they're asking for 
{{application/json}} when hitting that URL. They should be anyway if that's 
what they want. :)

That seems like a lighter, faster fix that won't break (m)any things. :) One 
hopes...

> / 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)

Reply via email to