title: How to get request cookies with winhttp?
body: <p>Response cookies ('Set-Cookie' response header) obtained fine, but request cookies ('Cookie' request header) I can't obtain by <code>WinHttpQueryHeaders</code> even with <code>WINHTTP_QUERY_FLAG_REQUEST_HEADERS</code>:</p>
  
  <pre><code>DWORD size = 0;
  BOOL re = WinHttpQueryHeaders(hRequest, WINHTTP_QUERY_COOKIE /*| WINHTTP_QUERY_FLAG_REQUEST_HEADERS*/, nullptr, nullptr, &amp;size, nullptr);
  DWORD err = GetLastError(); // re = 0 &amp;&amp; err == ERROR_WINHTTP_HEADER_NOT_FOUND
  </code></pre>
  
  <p>What's wrong?</p>