def isBinaryResponse(rsp):
    """
    Return True if response is binary data
    """
    is_binary = False
    if 'Content-Type' in rsp.headers:
        content_type = rsp.headers['Content-Type']
        if content_type == "application/octet-stream":
            is_binary = True
    return is_binary