You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Robert Newson (JIRA)" <ji...@apache.org> on 2016/09/08 13:27:20 UTC

[jira] [Commented] (COUCHDB-3137) "/" path is treated differently from "" path

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

Robert Newson commented on COUCHDB-3137:
----------------------------------------

can you show the full http request for the first case please?

> "/" path is treated differently from "" path
> --------------------------------------------
>
>                 Key: COUCHDB-3137
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3137
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Dirkjan Ochtman
>
> I got a bug against CouchDB-Python yesterday, see here:
> https://github.com/djc/couchdb-python/issues/303
> In it, the reporter explains that requesting the empty path from the database server gets the following response:
> {code:javascript}
> {"error":"not_found","reason":"Database does not exist."}
> {code}
> whereas the path "/" gets this response:
> {code:javascript}
> {"couchdb":"Welcome","version":"2.0.0-RC4","vendor":{"name":"The Apache Software Foundation"}}
> {code}
> My expectation would be that the responses for both of these paths should be the same, and both should get the welcome response.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)