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/utils.py | |
parent | 13d78662ee023b201d4c954c51b2e3071aa7026e (diff) | |
download | oauthlib-39e43961b98f79a55948db0710c8e2403408d12a.tar.gz |
move uri.lower() to is_secure_transport
Diffstat (limited to 'oauthlib/oauth2/rfc6749/utils.py')
-rw-r--r-- | oauthlib/oauth2/rfc6749/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/oauth2/rfc6749/utils.py b/oauthlib/oauth2/rfc6749/utils.py index b052532..bb5479c 100644 --- a/oauthlib/oauth2/rfc6749/utils.py +++ b/oauthlib/oauth2/rfc6749/utils.py @@ -87,4 +87,4 @@ def is_secure_transport(uri): """Check if the uri is over ssl.""" if os.environ.get('DEBUG'): return True - return uri.startswith('https://') + return uri.lower().startswith('https://') |