couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Goodall (JIRA)" <>
Subject [jira] Commented: (COUCHDB-348) / should redirect to a human readable page when accessed from a browser
Date Thu, 17 Dec 2009 00:54:18 GMT


Matt Goodall commented on COUCHDB-348:

I don't disagree with this at all - an HTML version of the couchdb root resource would make
sense. However, some browsers (yes, Internet Explorer) don't always send text/html in the
Accept header. So, sadly, it's not actually true that all browser prefer HTML to JSON. IE
sends an insane Accept header and the best match ends up being "*/*" which means it may be
up to the server to prioritise text/html over application/json.

> / should redirect to a human readable page when accessed from a browser
> -----------------------------------------------------------------------
>                 Key: COUCHDB-348
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>            Reporter: Chris Anderson
>             Fix For: 0.11
>         Attachments: COUCHDB_348_01.patch, COUCHDB_348_02.patch
> 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 is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message