> On Sep 10, 2017, at 9:13 PM, dyowee <[email protected]> wrote: > > We are unable to update beyond 1.1.1, due to lesser support for CouchDB, such > as the filter functions.
You mean the inconsistency in how CouchDB accepts _changes parameters in a POST vs a GET? If you're willing to make a few changes in CBL to be compatible with whatever CouchDB is expecting, it would probably save you trouble in the long run; there have been so many fixes and improvements in CBL since 1.1.1. When we added support for sending _changes as a POST (in CBL and Sync Gateway), we simply moved all the URL parameters to equivalent POST body parameters. But for some reason when CouchDB made the same change, they only enabled a small subset of the parameters to go in the POST; the rest still have to go in the URL. I have no idea why. In the ChangeTracker class in CBL you can disable the use of POST if the server isn't known to be SG; that would be the easiest and safest approach. Or if you need to send POST, you can figure out which parameters CouchDB wants, and then modify the code to put only those parameters in the 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/C8CD84F5-E344-433E-9215-51E5AF742A79%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
