def fetch_url(url, method='GET', user_agent='django-oembed', timeout=SOCKET_TIMEOUT):
    sock = httplib2.Http(timeout=timeout)
    request_headers = {
        'User-Agent': user_agent,
        'Accept-Encoding': 'gzip'}
    try:
        headers, raw = sock.request(url, headers=request_headers, method=method)
    except:
        raise OEmbedHTTPException('Error fetching %s' % url)
    return headers, raw
Find out if a user is in any of a set of groups
dataset/ETHPy150Open worldcompany/djangoembed/oembed/utils.py/fetch_url--crossover with--dataset/ETHPy150Open mathcamp/pypicloud/pypicloud/access/base.py/IAccessBackend.in_any_group