title: Error during PouchDB to CouchDB replication - "Only DELETE,GET,HEAD,POST allowed"
body: <p>I'm getting an error when trying to replicate from PouchDB (using <a href="http://www.pouchvision.com/" rel="nofollow">http://www.pouchvision.com/</a>) to CouchDB (using a local installation).</p>
  
  <p>Investigating the error with Fiddler, it seems that during a replication PouchDB is calling</p>
  
  <pre><code>http://127.0.0.1:5984/targetdb/
  </code></pre>
  
  <p>using the "OPTIONS" method and that CouchDB returns: </p>
  
  <pre><code>{
    "error": "method_not_allowed",
    "reason":"Only DELETE,GET,HEAD,POST allowed"
  }
  </code></pre>
  
  <p>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.</p>
  
  <p><strong>Questions:</strong> Has anybody else had the same problem? Am I doing something wrong? Or is this a bug in PouchDB (or in www.pouchvision.com)?</p>