From aa7507f98fb202506a9e36e3df7b590913129ca0 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 30 Apr 2013 21:56:46 +0200 Subject: cleaned header + more responsive --- module/web/api_app.py | 1 + 1 file changed, 1 insertion(+) (limited to 'module/web/api_app.py') 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'], "'\"")) -- cgit v1.2.3