Esempio n. 1
0
def session():
    resource = CouchdbResource()
    info = resource.get("/_session")
    return info.json_body
Esempio n. 2
0
def get_userdb():
    resource = CouchdbResource()
    path = "/_config/couch_httpd_auth/authentication_db"
    info = resource.get(path)
    
    return info.json_body