diff options
author | Jessica Tallon <jessica@megworld.co.uk> | 2014-09-24 11:53:33 +0100 |
---|---|---|
committer | Jessica Tallon <jessica@megworld.co.uk> | 2014-09-24 11:53:33 +0100 |
commit | ec305bda6176ac7428dc7b12b4b096e943df197e (patch) | |
tree | 0ae7339e0f750184fee32f25cba4045893790b84 | |
parent | c2059c4a7457fa8c752965e705b9d52e2b206610 (diff) | |
download | mediagoblin-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.py | 4 |
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 |