diff options
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://') |