Omar,

Unlike a web browser, HttpClient does not do any caching unless required by the way you use it. For instance, setting the request body as a string or querying the response as a string will cause some caching to happen. Just make sure you work with streams, then no request / response will be cached internally.

To control caching at the proxy you need to set the headers yourself.

Odi

O Khalid wrote:
hey guys,

I was wondering if anyone knows how to dis-able cache using the
httpClient. I believe the HttpURLConnection class does not support
setUseCaches method yet. Does anyone know of a certain HTTP Header
that could be set in the request body to achieve this.

Thanks

Omar



--------------------------------- Post your free ad now! Yahoo!
Canada Personals


-- _________________________________________________________________ NOSE applied intelligence ag [www] http://www.nose.ch ortwin gl�ck [email] [EMAIL PROTECTED] hardturmstrasse 171 [pgp key] 0x81CF3416 8005 zurich [office] +41-1-277 57 35 switzerland [fax] +41-1-277 57 12


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to