diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-04-30 21:56:46 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-04-30 21:56:46 +0200 |
commit | aa7507f98fb202506a9e36e3df7b590913129ca0 (patch) | |
tree | 8dd7e524ed384542b230e71d4df990369587cd1f /module/web/api_app.py | |
parent | Fixed #65 (diff) | |
download | pyload-aa7507f98fb202506a9e36e3df7b590913129ca0.tar.xz |
cleaned header + more responsive
Diffstat (limited to 'module/web/api_app.py')
-rw-r--r-- | module/web/api_app.py | 1 |
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'], "'\"")) |