Skip to content

Commit

Permalink
fix translation extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Artikash committed Apr 2, 2020
1 parent 4a320a3 commit 386e09a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 386e09a

Please sign in to comment.