Skip to content

Commit a31db91

Browse files
committed
Delete useless header transform in extract_params.
1 parent 8e52b94 commit a31db91

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

flask_oauthlib/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ def extract_params():
1717
del headers['wsgi.input']
1818
if 'wsgi.errors' in headers:
1919
del headers['wsgi.errors']
20-
if 'Http-Authorization' in headers:
21-
headers['Authorization'] = headers['Http-Authorization']
2220

2321
body = request.form.to_dict()
2422
return uri, http_method, body, headers

0 commit comments

Comments
 (0)