タグ

curlに関するmstk-oのブックマーク (2)

  • kasperskyが入っているMacでhomebrewなどのパッケージ管理ソフトを使いinstallするとエラーがでる問題を解決した

    といったエラーが発生したため、調査および解決策をまとめてみました。 TL;DRウェブ保護を無効にする各パッケージマネージャに CA 証明書を設定する原因調査発生しているエラーがどういったものかを調査したところ、 エラー内容の通り、SSL 周りでエラーが発生しているWSL(Windows Subsystem for Linux)でも同様の問題が起きているkaspersky がいたずらしているみたいということが分かりました。 どうやら、ウェブ保護を行う際に Kaspersky さんが MITM(中間者攻撃)の動きをしているため発生している問題みたいです。 中間者攻撃はJPRS 用語辞典|中間者攻撃(man-in-the-middle attack)がわかりやすいです。 Kaspersky 的には、 「中身をチェックして確認してから渡したるわ」 ということだと思うのですが、これのせいでダウンロー

    kasperskyが入っているMacでhomebrewなどのパッケージ管理ソフトを使いinstallするとエラーがでる問題を解決した
  • PHP: cURL - Manual

    I wrote the following to see if a submitted URL has a valid http response code and also if it responds quickly. Use the code like this: <?php $is_ok = http_response($url); // returns true only if http response code < 400 ?> The second argument is optional, and it allows you to check for a specific response code <?php http_response($url,'400'); // returns true if http status is 400 ?> The third all

    PHP: cURL - Manual
  • 1