def _bin_to_long(x):
    return long(x.encode('hex'), 16)
returns True if the request accepts Content-Encoding: gzip
dataset/ETHPy150Open gratipay/gratipay.com/gratipay/security/crypto.py/_bin_to_long--crossover with--dataset/ETHPy150Open jhmaddox/django-precompressed/precompressed/utils.py/accepts_gzip