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

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:

{"couchdb":"Welcome","version":"0.11.0b890185"}

with something like this: 

https://issues.apache.org/jira/secure/attachment/12416873/screenshot.png

I could see adding a couple user friendly links to couchdb.apache.org, 
wiki.apache.org/couchdb 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."

Cheerio!

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

Reply via email to