<filename>remotecv-2.2.1-py3.6.egg/remotecv/http_loader.py<gh_stars>1-10
import urllib2
import re

def load_sync(path):
    if not re.match(r'^https?', path):
        path = 'http://%s' % path
    path = urllib2.unquote(path)
    return urllib2.urlopen(path).read()

<filename>remotecv-2.2.1-py3.6.egg/remotecv/http_loader.py<gh_stars>1-10
import urllib2
import re

def load_sync(path):
    if not re.match(r'^https?', path):
        path = 'http://%s' % path
    path = urllib2.unquote(path)
    return urllib2.urlopen(path).read()
