且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Winsock库发送GET HTTP请求时出现400错误的请求错误

更新时间:2021-09-19 21:19:56

他们无法解析您的请求,因为您试图将其发送到未加密的https端口(443).您可以尝试将其发送给http端口(80),但是无论如何它们都会将您重定向到 https://coursera.org

They can't parse your request because you are trying to send it to https port (443) unencrypted. You can try to send it http port (80), but they will redirect you to https://coursera.org anyway.