You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
the-kenny edited this page Sep 13, 2010
·
1 revision
How to identify with HTTP
If you want to use a service like cloudant.com where clients have to identify themselves with http authentication (basic access authentication), you can use java.net.Authenticator to transparently authorize all connections made by HttpURLConnection (That’s what clojure-couchdb is using behind the scenes)
Here is a snippet which shows how it’s possible to identify outgoing http connections (I use this for cloudant.com):