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 2017/05/26 10:18:04 UTC

[jira] [Commented] (COUCHDB-3426) 403 denial reported as db_not_found by replicator

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

Robert Newson commented on COUCHDB-3426:
----------------------------------------

https://github.com/apache/couchdb/pull/542

> 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)