RE: NEW ISSUE: Methods and Caching

On ons, 2008-11-19 at 05:32 -0500, Yves Lafon wrote:

> There is no way to disambiguate the response of a POST as being the same 
> as what a GET would do, unless the server gives extra informations, a 
> mechanism not defined in 2616. The best way seems to be POST->303 with 
> almost empty body on same Location -> GET and retrieve the body, then 
> cache.

That piece of extra information is the explicit expiry information.
There is nothing ambiguous about that, ignoring broken servers who send
explicit expiry information on responses where they did not intend to..

Regards
Henrik

Received on Wednesday, 19 November 2008 11:46:59 UTC