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

andrew u frank commented on COUCHDB-1189:
-----------------------------------------

i will try - but it will be a few days before i will return to this issue.
andrew




> 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

        

Reply via email to