couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noah Slater (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-348) / should redirect to a human readable page when accessed from a browser
Date Thu, 17 Dec 2009 01:39:18 GMT

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

Noah Slater commented on COUCHDB-348:
-------------------------------------

This would be an abuse of HTTP semantics. Representations (i.e. the different media types)
are meant to represent the same conceptual resource. Switching in Futon based on the Accept
header would be a gross abuse of content negotiation, as Futon is not the HTML representation
of any resource which also has the root CouchDB JSON response as another representation. The
only two options we have for this ticket is to close it as WONTFIX, or to replace the root
resource with Futon - that is, to make Futon live at the root of CouchDB.

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


Mime
View raw message