MCPcopy Create free account
hub / github.com/EasyIME/PIME / mySendRequest

Function mySendRequest

installer/inetc/Contrib/Inetc/inetc.cpp:440–450  ·  view source on GitHub ↗

* FUNCTION NAME: mySendRequest() * PURPOSE: * HttpSendRequestEx() sends headers only - for PUT * We also can use InetWriteFile for POST body I guess * SPECIAL CONSIDERATIONS: * *****************************************************/

Source from the content-addressed store, hash-verified

438*
439*****************************************************/
440int mySendRequest(HINTERNET hFile)
441{
442 INTERNET_BUFFERS BufferIn = {0};
443 if(fput)
444 {
445 BufferIn.dwStructSize = sizeof( INTERNET_BUFFERS );
446 BufferIn.dwBufferTotal = fs;
447 return HttpSendRequestEx( hFile, &BufferIn, NULL, HSR_INITIATE, 0);
448 }
449 return HttpSendRequest(hFile, NULL, 0, szPost, fSize);
450}
451
452/*****************************************************
453* FUNCTION NAME: queryStatus()

Callers 1

openHttpFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected