Handle errors with httputil.HTTPError.