couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zachary Zolton <>
Subject Re: using auth with http.request
Date Tue, 01 Mar 2011 22:33:15 GMT
In HTTP basic authentication, credentials are specified using headers
in the request:

Many HTTP clients (e.g. curl and web browsers) will parse the
username:password out of the URL and set the header for you, but it
sounds like your client doesn't do this.

BTW, you'll need to specify what programming language you're using so
we can give you more prescriptive advice...


On Tue, Mar 1, 2011 at 2:19 PM, Mark Hahn <> wrote:
> I want to use http.request to access couchdb but I need a URL like
> http://user:pwd@localhost:5984/db.  How do I do this?  When I put
> user:pwd@localhost in as the host option I get a domain error.  I see
> no other way to specify this.
> (I hope this isn't a double post.  I've been having email problems.)

View raw message