Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-3137

"/" path is treated differently from "" path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • HTTP Interface
    • None

    Description

      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:

      {"error":"not_found","reason":"Database does not exist."}
      

      whereas the path "/" gets this response:

      {"couchdb":"Welcome","version":"2.0.0-RC4","vendor":{"name":"The Apache Software Foundation"}}
      

      My expectation would be that the responses for both of these paths should be the same, and both should get the welcome response.

      Attachments

        Activity

          People

            Unassigned Unassigned
            djc Dirkjan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: