def get_headers(referer):
    """Returns the headers needed for the transfer request."""
    return {'Content-Type': 'application/json; charset=UTF-8',
        'X-Requested-With': 'XMLHttpRequest', 'Referer': referer}
