On Apr 14, 2016, at 6:25 PM, David Quon 
<[email protected]<mailto:[email protected]>> wrote:

CouchDB.  I don't remember the exact version but let me know if that's 
important.

Ah, that explains it. Older versions of CouchDB didn’t support POST to 
_changes, so older versions of Couchbase Lite sent it a GET instead. In 1.2 we 
switched to sending POST to CouchDB. Unfortunately there was a slight protocol 
incompatibility that made this not work (issue #1139); it’s recently been fixed 
on the master branch, and there’s also a (unofficial) `release/1.2.2` branch 
containing the fix.

If you don’t want to upgrade all the way from 1.0.4 to 
1.2-plus-unreleased-fixes ;) then you could edit the 1.0.4 sources so that 
CBLChangeTracker.usePOST is always set to YES in CBLPuller.m. At that point I 
think you’ll have the same problem as 1.2, so look at the patch that fixes 
#1139 and make a similar change (it’s minor; basically the _changes params 
should go into the URL as well as the POST body.)

—Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/DB1EA481-4083-4394-A6CB-C80900683FF3%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to