Put back check on http response status