diff options
author | Hsiaoming Yang <me@lepture.com> | 2013-05-31 21:48:17 +0800 |
---|---|---|
committer | Hsiaoming Yang <me@lepture.com> | 2013-05-31 21:48:17 +0800 |
commit | 39e43961b98f79a55948db0710c8e2403408d12a (patch) | |
tree | 0a78d4a38bb9c3efbfdb0cda9561fad13edc15b4 /oauthlib/oauth2/rfc6749/clients/base.py | |
parent | 13d78662ee023b201d4c954c51b2e3071aa7026e (diff) | |
download | oauthlib-39e43961b98f79a55948db0710c8e2403408d12a.tar.gz |
move uri.lower() to is_secure_transport
Diffstat (limited to 'oauthlib/oauth2/rfc6749/clients/base.py')
-rw-r--r-- | oauthlib/oauth2/rfc6749/clients/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/oauth2/rfc6749/clients/base.py b/oauthlib/oauth2/rfc6749/clients/base.py index 386da0d..d462133 100644 --- a/oauthlib/oauth2/rfc6749/clients/base.py +++ b/oauthlib/oauth2/rfc6749/clients/base.py @@ -102,7 +102,7 @@ class Client(object): .. _`I-D.ietf-oauth-v2-bearer`: http://tools.ietf.org/html/rfc6749#section-12.2 .. _`I-D.ietf-oauth-v2-http-mac`: http://tools.ietf.org/html/rfc6749#section-12.2 """ - if not is_secure_transport(uri.lower()): + if not is_secure_transport(uri): raise InsecureTransportError() token_placement = token_placement or self.default_token_placement |