Update http

Added response error catching