|
Hi one, hi all!
I have recently ported from WiInet to WinHttp in my server application.
Everything works just fine but there is one major question regarding some flags that were set in the WinInet HttpOpenRequest(…). The dwFlags had values of INTERNET_FLAG_KEEP_CONNECTION and INTERNET_FLAG_NO_CACHE_WRITE which I need to use, the problem is I can not find the equivalent in the WinHttp API protocol!!! I was told to add it the Headers of the request in format of:
"Content-Type: application/x-www-form-urlencoded\r\n Connection : Keep-Alive\r\n Cache-Control: no-cache"
but it seems rather strange to set flags as part of the message sent to the server!
Any one?
Thanks
S
|
|
|
|
|
|
|
|