Michael Becke wrote:
> Oleg Kalnichevski wrote:
>
>>>>   * Perhaps the "isStale" check is unnecessary for methods that can
>>>>     simply repeat themselves, for example, GET, HEAD, OPTION, TRACE.
>>>>     For those methods, we could allow a "retry" to fix the problem.
>>>>     For methods such as POST and PUT, however, the isStale is probably
>>>>     an essential check.
[ thread rearranged by mike_moran]
This is a possibility I think. As Oleg mentioned I don't think we want the connection to know about the method. We should be able to accomplish something like this in the HttpMethod though. This assumes that we can turn on/off the isStale test from outside the connection.

Couldn't you only pass on the knowledge that the request is idempotent, and then let the the isStale() check switch on this?


--
Mike


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



Reply via email to