Function check_http_resp_bin

Source
pub async fn check_http_resp_bin(resp: Response) -> Result<Vec<u8>>
Expand description

HTTP status が成功 (200 台) でなければ Err に変換する。

成功ならば response body をバイト列に変換して返す。