summaryrefslogtreecommitdiffstats
path: root/module/web/api_app.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-04-30 21:56:46 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-04-30 21:56:46 +0200
commitaa7507f98fb202506a9e36e3df7b590913129ca0 (patch)
tree8dd7e524ed384542b230e71d4df990369587cd1f /module/web/api_app.py
parentFixed #65 (diff)
downloadpyload-aa7507f98fb202506a9e36e3df7b590913129ca0.tar.xz
cleaned header + more responsive
Diffstat (limited to 'module/web/api_app.py')
-rw-r--r--module/web/api_app.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/web/api_app.py b/module/web/api_app.py
index 52903e92b..690cf73aa 100644
--- a/module/web/api_app.py
+++ b/module/web/api_app.py
@@ -28,6 +28,7 @@ def call_api(func, args=""):
s = request.environ.get('beaker.session')
auth = parse_auth(request.get_header('Authorization', ''))
+ # TODO: session as GET
if 'session' in request.POST:
# removes "' so it works on json strings
s = s.get_by_id(remove_chars(request.POST['session'], "'\""))