> On Nov 4, 2014, at 3:38 AM, Juan Hernandez <[email protected]> 
> wrote:
> 
> I have specified the parameter feed=eventsource to use server-side events but 
> it seems Couchbase is returning the wrong MIME type and Safari Mobile aborts 
> the connection.

That's because Couchbase Lite doesn't support eventsource :( so it's ignoring 
the parameter and just returning the default feed.

Looks like eventsource is listed as a supported mode in our REST API docs 
<http://developer.couchbase.com/mobile/develop/references/couchbase-lite/rest-api/database/get-changes/index.html>.
 Sorry about that — those docs are adapted from CouchDB docs [which Couchbase 
wrote years ago] and there are some places where we didn't edit out options 
that CBL doesn't support. I'll get that fixed.

Also, we should add support for feed=eventsource since it would be useful for 
PhoneGap apps. I'll file an issue 
<https://github.com/couchbase/couchbase-lite-ios/issues/514>.

—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/2446DE43-F8D3-4776-8139-54DF1ED35AE6%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to