You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Paul Joseph Davis (JIRA)" <ji...@apache.org> on 2010/10/09 21:45:23 UTC
[jira] Updated: (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 ]
Paul Joseph Davis updated COUCHDB-340:
--------------------------------------
Skill Level: Regular Contributors Level (Easy to Medium)
> 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.
-
You can reply to this email to add a comment to the issue online.