WNetWrap
WNetWrap copied to clipboard
WinINet wrapper - tiny windows HTTPS library, no dependencies. 封装了WinInet的强大http请求库 make POST and GET requests
网站请求不了
比如 http://www.4399.com  
Error handling right now is just a text output of GetLastError() in the response object, and it doesn't cover all possible errors. There should be a more helpful error handling...
Here I implemented a simple solution. An if statement checks which protocol is used by using `URI["scheme"]` and set the appropriate flags.
Normal http requests (no ssl) does not seem to work. The error returned by `GetLastError()` is `12157`, which translate into: `ERROR_INTERNET_SECURITY_CHANNEL_ERROR` > The application experienced an internal error loading the...