always check http response code