def can_zip_response(headers):
    """
    Check if request supports zipped response
    :param headers: request headers
    :return:
    """
    if 'ACCEPT-ENCODING' in headers.keys():
        if 'gzip' in headers.get('ACCEPT-ENCODING'):
            return True

    return False