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 was archived by the owner on Aug 30, 2024. It is now read-only.
Cloudant (python-cloudant) version(s) that are affected by this issue.
$ pip list | grep cloudant
cloudant (2.8.1)
Python version
$ python --version
Python 3.6.5
A small code sample that demonstrates the issue.
# This works
import requests
import json
auth = ('admin', '31sf13b3r!')
get_url = "http://127.0.0.1:5984/_session".format(auth[0])
r = requests.get(get_url, auth=auth)
print(json.dumps(r.json(), indent=1))
# This doesn't work
from cloudant import CouchDB
db = CouchDB(*auth, url='http://127.0.0.1:5984')
db.connect()
print(db.all_dbs())
I want to connect to a CouchDB instance (example code below) with the configuration parameter
this gives a
A hot fix for cookie based authentication would be: