class Net::HTTPUnauthorized

用于 Unauthorized 响应(状态码 401)的响应类。

需要身份验证,但未提供或失败。

这个类也(间接地)包含模块 Net::HTTPHeader,允许访问其 获取标头的方法

参考