projects
/
yelp-api-cdsw
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
import the yelpapi module (a final dependency)
[yelp-api-cdsw]
/
requests_oauthlib
/
utils.py
1
from __future__ import unicode_literals
2
import os
3
4
5
def is_secure_transport(uri):
6
"""Check if the uri is over ssl."""
7
if os.environ.get('DEBUG'):
8
return True
9
return uri.lower().startswith('https://')
Benjamin Mako Hill
||
Want to submit a patch?