fn ok_or_status(res: &HttpsGetResult) -> Result<(), &'static str>Expand description
HTTP ステータスが 2xx かを判定。失敗時はステータスを含むエラーにしたいが
&'static str 制約のため、代表的なケースを分岐する。
fn ok_or_status(res: &HttpsGetResult) -> Result<(), &'static str>HTTP ステータスが 2xx かを判定。失敗時はステータスを含むエラーにしたいが
&'static str 制約のため、代表的なケースを分岐する。