From: Adam Zieliński <[email protected]<mailto:[email protected]>>
Reply-To: 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, February 11, 2014 1:09 PM
To: 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: HTTP Basic Auth

I use phonegap plugin with couchbase lite (similar to todo lite app)
i use URL in remote properties:


var remote = {
 url : http://username:password@hostname:4984/sync_gateway/
},

I'm not sure if it's relevant here, but while the username:password@ is 
relatively common and frequently does what you expect, it actually is not part 
HTTP standards.  I've seen some things that do not support it.  IIRC, it was 
removed and is recommended against in the HTTP URI scheme.

I can find the authoritative reference if needed, but just thought I'd mention 
it.

Matt

--
Matt Ingenthron
Couchbase, Inc.

-- 
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/CF1FE24B.DCCDB%25matt%40couchbase.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to