I'm getting an error when trying to replicate from PouchDB (using http://www.pouchvision.com/) to CouchDB (using a local installation).
Investigating the error with Fiddler, it seems that during a replication PouchDB is calling
http://127.0.0.1:5984/targetdb/
using the "OPTIONS" method and that CouchDB returns:
{
"error": "method_not_allowed",
"reason":"Only DELETE,GET,HEAD,POST allowed"
}
I've also used Fiddler to inspect CouchDB to CouchDB replication and in this case the replication makes 2 calls to the same url using the "HEAD" and "GET" methods and all works fine.
Questions: Has anybody else had the same problem? Am I doing something wrong? Or is this a bug in PouchDB (or in www.pouchvision.com)?