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

Filipe Manana commented on COUCHDB-758:
---------------------------------------

Michele,

you're probably doing a push replication from a version < 1.0 to 1.0.x, right?

In CouchDB 1.0.x, all POST requestes must have a Content-Type of 
"application/json". This was added to prevent Cross Site Request Forgery 
(originating from a browser) attacks.

The replicator sends POST requests to a remote target (_bulk_docs API), so that 
is likely explains your "bad_content_type" error.

> Remote replication fails for any database, push or pull.
> --------------------------------------------------------
>
>                 Key: COUCHDB-758
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-758
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 0.11
>         Environment: Windows
>            Reporter: Chris Hunt
>         Attachments: CouchReplLog.txt
>
>
> All attempts to replicate fail in either direction for any database.  The 
> message is "Replication failed: undefined"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to