aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJessica Tallon <jessica@megworld.co.uk>2014-09-24 11:53:33 +0100
committerJessica Tallon <jessica@megworld.co.uk>2014-09-24 11:53:33 +0100
commitec305bda6176ac7428dc7b12b4b096e943df197e (patch)
tree0ae7339e0f750184fee32f25cba4045893790b84
parentc2059c4a7457fa8c752965e705b9d52e2b206610 (diff)
downloadmediagoblin-ec305bda6176ac7428dc7b12b4b096e943df197e.tar.lz
mediagoblin-ec305bda6176ac7428dc7b12b4b096e943df197e.tar.xz
mediagoblin-ec305bda6176ac7428dc7b12b4b096e943df197e.zip
Fix Content-Disposition error for retrieving OAuth request tokens
-rw-r--r--mediagoblin/oauth/views.py4
1 files changed, 0 insertions, 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