예제 #1
0
def couchdb_proxy_file(url):
    user_token = session.get('authproxy_token')
    if user_token is None:
        abort(401)
    url += '/file'
    return couchdbproxy.on_proxy(request, user_token=user_token, url=url)
예제 #2
0
def couchdb_proxy_file(url):
    user_token = session.get('authproxy_token')
    if user_token is None:
        abort(401)
    url += '/file'
    return couchdbproxy.on_proxy(request, user_token=user_token, url=url)
예제 #3
0
def couchdb_proxy(url, user_token):
    return couchdbproxy.on_proxy(request, user_token=user_token, url=url)
예제 #4
0
def couchdb_proxy(url, user_token):
    return couchdbproxy.on_proxy(request, user_token=user_token, url=url)