support http error code, check url