0

我正在尝试GET通过 SSL 发出请求,并将响应代码0设为空白,将响应正文设为空白。

要求

Typhoeus::Request.get("https://www.example.com", headers: { 'Accept' => "application/json"}, ssl_verifypeer: false, userpwd: 'username' + ":" + 'pwd', sslversion: :sslv3))

回复:

"ETHON: performed EASY url= response_code=0 return_code=peer_failed_verification total_time=0.22201"

相同的 URL 通过 CURL 在终端上运行,它也在 mac 机器上运行。

4

0 回答 0