couchdb-dev mailing list archives

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


Paul Joseph Davis commented on COUCHDB-348:

@matthew That mimeparse library is busted. media type parameters can be quoted which breaks
the call to string:tokens("="). Though, that's not too crazy. Even WebOb is broken. Just saying
is all. :) As to including it, you might double check if mochiweb already has something. If
not, then as long as the license is kosher we'll put it in somewhere.

@nslater Perhaps if someone had suggested redirecting to Futon based on Accept header you'd
be in the right ballpark. As it so happens, we're discussing returning an alternate representation
of the root resource with something that is human readable based on the accept headers. For
instance, the general idea is to replace:


with something like this:

I could see adding a couple user friendly links to,
and Futon. But the resource is still they same old "Hey buddy, glad you could make it, lemme
get you a nice frosty cold glass of lemonade while you relax right here on this comfy couch."


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