Skip to main content

https_post

Function https_post 

Source
pub fn https_post(
    host: &str,
    path: &str,
    content_type: &str,
    body: &[u8],
) -> Result<HttpsGetResult, &'static str>
Expand description

HTTPS POST。https_get と同じ TLS 経路で、リクエスト行を POST にし Content-Type / Content-Length ヘッダ + ボディを送信する。 フォーム送信(DuckDuckGo lite の検索等)が HTTPS で正しく届くために必須。