I’m using CouchBase Lite on Mac and iOS.
I’m trying, for tests purposes, to send a REST request to another intense of my application over my local network, in order to do peer to peer sync.
I tied both from Objective C and from a webView with jQuery (.ajax).
Most requests works, like basic GET. But i tried a PUT of a new design doc as described here :
The DB is not read only and with no authentication.
I alway receive a 406 - Not Acceptable
I tried to change de header of the requests (content-type, accept) with no success.
If you have any idea of where this error could comes from i will appreciate !
Thanks a lot