incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "andrew u frank (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-1189) 302 reported when it should say 'you are not a server or admin"
Date Tue, 07 Jun 2011 06:20:58 GMT
302 reported when it should say 'you are not a server or admin"
---------------------------------------------------------------

                 Key: COUCHDB-1189
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1189
             Project: CouchDB
          Issue Type: Bug
          Components: HTTP Interface
    Affects Versions: 1.0.1
         Environment: ubuntu 11.04
            Reporter: andrew u frank
            Priority: Minor


a request to load design doc without admin credentials get the response 302 -- the detail
show that the missing credentials are the cause)
i think the error handling should be fixed to produce the correct and more specific error
message.

*** Exception: HTTP/1.1 302 Moved Temporarily 
Server: CouchDB/1.0.1 (Erlang OTP/R13B)
Location: http://127.0.0.1:5984/_utils/session.html?return=%2Fnotes042e_test%2F_design%2Fttx&reason=You%20are%20not%20a%20db%20or%20server%20admin.
Date: Tue, 07 Jun 2011 06:03:02 GMT
Content-Type: text/plain;charset=utf-8
Content-Length: 70
Cache-Control: must-revalidate

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message