1

I implement sending POST request by using the wininet library. I tried to use the different flags both in the HttpOpenRequest and in the PostInitWinInetHandle functions. The generated request contains the Cache-Control: no cache header always.

Does HTTP protocol allows sending POST request without this header? If so how can I eliminate adding this header to a request?

Ajay
  • 18,086
  • 12
  • 59
  • 105
Vitaly
  • 597
  • 1
  • 5
  • 12

1 Answers1

0

Don't use the flag INTERNET_FLAG_PRAGMA_NOCACHE.

Jörgen Sigvardsson
  • 4,839
  • 3
  • 28
  • 51