From ec305bda6176ac7428dc7b12b4b096e943df197e Mon Sep 17 00:00:00 2001 From: Jessica Tallon Date: Wed, 24 Sep 2014 11:53:33 +0100 Subject: [PATCH] Fix Content-Disposition error for retrieving OAuth request tokens --- mediagoblin/oauth/views.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mediagoblin/oauth/views.py b/mediagoblin/oauth/views.py index ce12fbe0..910df957 100644 --- a/mediagoblin/oauth/views.py +++ b/mediagoblin/oauth/views.py @@ -190,10 +190,6 @@ def request_token(request): error = "Could not decode data." return json_response({"error": error}, status=400) - if data == "": - error = "Unknown Content-Type" - return json_response({"error": error}, status=400) - if not data and request.headers: data = request.headers -- 2.11.4.GIT