> On Jul 3, 2015, at 9:35 AM, atom992 <[email protected]> wrote:
> 
> I have the same problem , when I used chrome to set a XHR request to SG REST 
> API, I can find the request method is not POST but OPTIONS. I thought it is a 
> CROS issue, but it is not.

It’s not the same thing; the earlier messages in this thread were talking about 
Couchbase Lite’s HTTP listener. Sync Gateway supports OPTIONS:

$  http OPTIONS :4984/
HTTP/1.1 204 No Content
Allow: GET, HEAD
Date: Fri, 03 Jul 2015 17:08:20 GMT

$  http OPTIONS :4984/attach-test
HTTP/1.1 204 No Content
Allow: GET, HEAD, POST, PUT
Date: Fri, 03 Jul 2015 17:08:35 GMT

If you’ve found a specific case where it doesn’t, then file a bug report 
<https://github.com/couchbase/sync_gateway/issues/new> with details on the 
version and the URL.

—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/E991CCDB-2B94-4B67-BCA2-C9EA8B26A792%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to