do not render html when response has redirect