pub fn https_request(
method: &str,
host: &str,
path: &str,
extra_headers: &[(&str, &str)],
content_type: &str,
body: Option<&[u8]>,
) -> Result<HttpsGetResult, &'static str>Expand description
任意メソッド + 任意ヘッダの HTTPS リクエスト(OAuth2 / REST API 用)。
Authorization: Bearer ... などの追加ヘッダを付けて送れる。body が Some なら
Content-Type / Content-Length を付与する(content_type が空なら付けない)。