HttpError improvements