You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jan Lehnardt (Closed) (JIRA)" <ji...@apache.org> on 2011/10/30 21:30:32 UTC

[jira] [Closed] (COUCHDB-340) Canonical URLs: Issue redirects where appropriate

     [ https://issues.apache.org/jira/browse/COUCHDB-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Lehnardt closed COUCHDB-340.
--------------------------------

    Resolution: Unresolved

Closing on grounds of no activity in a long time. Please reopen when appropriate.
                
> Canonical URLs: Issue redirects where appropriate
> -------------------------------------------------
>
>                 Key: COUCHDB-340
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-340
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>            Reporter: Jason Davies
>            Priority: Minor
>
> We should issue a redirect from http://127.0.0.1:5984/dbname -> http://127.0.0.1:5984/dbname/ (note trailing slash) as the latter seems more appropriate to represent the hierarchy.  As for document URLs, I am thinking they should probably also have a trailing slash, as it is possible to have document attachments at the next level of the hierarchy.  When using _show, this would also mean links to attachments would be simpler.
> As for view URLs (and _list), I don't see any reason for them to have trailing slashes.  In these cases, we should probably issue a 301 to the non-trailing-slash URL, or issue a 404.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira