有没有办法在c ++中覆盖ERROR_WINHTTP_INVALID_SERVER_RESPONSE? [英] is there any way to override ERROR_WINHTTP_INVALID_SERVER_RESPONSE in c++?
问题描述
我将通过在c ++中使用WinHttpSendRequest和WinHttpReceiveResponse来发送HttpRequest并接收响应。
WinHttpSendRequest成功,但WinHttpReceiveResponse失败,错误为ERROR_WINHTTP_INVALID_SERVER_RESPONSE。
我不知道如何解决这个问题。
你好,
我在这里读到:
https://groups.google.com/forum/#!topic/microsoft.public.winhttp/IuQFkHrjIao
一个答案可能是你的标题数据太长了。另一个可能是您的防病毒产生问题。
此致,Guido 一>
I am going to send HttpRequest and receive reponse by using WinHttpSendRequest and WinHttpReceiveResponse in c++.
WinHttpSendRequest is succeeded, but WinHttpReceiveResponse is failed with the error ERROR_WINHTTP_INVALID_SERVER_RESPONSE.
I don't know how to resolve this issue.
Hello,
as I read here: https://groups.google.com/forum/#!topic/microsoft.public.winhttp/IuQFkHrjIao
One answer can be that your header data is too long. Another can be that your antivirus makes problems.
这篇关于有没有办法在c ++中覆盖ERROR_WINHTTP_INVALID_SERVER_RESPONSE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!