From 386e09a81a69d9f09688bba8a79dfdbd66f59126 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Thu, 2 Apr 2020 03:07:32 -0600 Subject: [PATCH] fix translation extensions --- extensions/network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/network.cpp b/extensions/network.cpp index e6788e6..99495b0 100644 --- a/extensions/network.cpp +++ b/extensions/network.cpp @@ -20,7 +20,7 @@ HttpRequest::HttpRequest( if (InternetHandle request = WinHttpOpenRequest(connection, action, objectName, httpVersion, referrer, acceptTypes, requestFlags)) if (WinHttpSendRequest(request, headers, -1UL, body.empty() ? NULL : body.data(), body.size(), body.size(), NULL)) { - //WinHttpReceiveResponse(request, NULL); + WinHttpReceiveResponse(request, NULL); //DWORD size = 0; //WinHttpQueryHeaders(request, WINHTTP_QUERY_RAW_HEADERS_CRLF, WINHTTP_HEADER_NAME_BY_INDEX, NULL, &size, WINHTTP_NO_HEADER_INDEX); //this->headers.resize(size);