couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Davies (JIRA)" <>
Subject [jira] Created: (COUCHDB-340) Canonical URLs: Issue redirects where appropriate
Date Thu, 30 Apr 2009 15:54:30 GMT
Canonical URLs: Issue redirects where appropriate

                 Key: COUCHDB-340
             Project: CouchDB
          Issue Type: Improvement
          Components: HTTP Interface
            Reporter: Jason Davies
            Priority: Minor

We should issue a redirect from ->
(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.
You can reply to this email to add a comment to the issue online.

View raw message