Re: RFR 7133367: ResponseCache.put should not be called when setUseCaches(false)

2012-02-09 Thread Michael McMahon
On 08/02/12 21:07, chris hegarty wrote: This seems to be an oversight in HttpURLConnection where the system-wide ResponseCache handler is used to store responses even if getUsesCaches returns false. I guess this was never really noticed before since the cached response will not be used if

RFR 7133367: ResponseCache.put should not be called when setUseCaches(false)

2012-02-08 Thread chris hegarty
This seems to be an oversight in HttpURLConnection where the system-wide ResponseCache handler is used to store responses even if getUsesCaches returns false. I guess this was never really noticed before since the cached response will not be used if getUsesCaches returns false for future