check status code 304