return error should return text/html
Apply labels on 'return error' HTML pages