HttpSetOption
Sets either a global or a connection option.
#include <httpexp.h>
#include <httpclnt.h>
int HttpSetOption (
HINTERNET hndl,
UINT32 option,
void *pBuffer,
UINT32 bufferLen);
If successful, returns 0. Otherwise, returns a nonzero error code.
You can set the option globally for all your HTTP connections or individually for one connection.