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

ASF subversion and git services commented on COUCHDB-3426:
----------------------------------------------------------

Commit 24b9d0d572a9ed81366954d8bd76adf33819869c in couchdb's branch 
refs/heads/master from [~rnewson]
[ https://gitbox.apache.org/repos/asf?p=couchdb.git;h=24b9d0d ]

Send a better error when opening a db without authorisation

COUCHDB-3426


> 403 denial reported as db_not_found by replicator
> -------------------------------------------------
>
>                 Key: COUCHDB-3426
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3426
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Replication
>            Reporter: Robert Newson
>
> In various places we've improved the status code of errors from 401 
> Unauthorised to 403 Forbidden to better match the HTTP spec.
> Unfortunately the replicator was not taught to anticipate this and so sends 
> misleading db_not_found errors when it can't open a database because of a 403 
> forbidden result.
> I'll submit a small PR to improve error handling.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to