HTTP Cache-Control

Question:

Using the HTTP component I’m connecting and downloading an RSS feed via a Proxy server (fantastic!!).
Trouble is – the proxy is caching yesterday’s feed and I need to force the proxy to refresh it’s contents (that’s the proxy on my network – not the Chilkat local cache).

How can I tel the HTTP component to force the proxy to refresh?

I tried setting:

http.FreshnessAlgorithm = 1;
http.DefaultFreshPeriod = 1;
http.MaxFreshPeriod = 1;

to no avail.

Regards,

***
Licensed (and happy) Chilkat User….

Answer:

The HTTP header field definitions are defined here. Any header may be explicitly added to an HTTP request sent by Chilkat HTTP. For QuickGet* methods, call the SetRequestHeader method. The header you’ll probably want to add is “Cache-Control”, like this:

httpObject.SetRequestHeader("Cache-Control","no-cache");