MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / mySendRequest

Function mySendRequest

cmake/Windows/Contrib/Inetc/inetc.cpp:435–445  ·  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

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

Callers 1

openHttpFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected