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
  • 17,472
  • 10
  • 53
  • 96
Vitaly
  • 587
  • 1
  • 5
  • 12

1 Answers1

0

Don't use the flag INTERNET_FLAG_PRAGMA_NOCACHE.

Jörgen Sigvardsson
  • 4,782
  • 2
  • 27
  • 50