>From: Ortwin Glück >Sent: Thursday, February 26, 2004 6:27 AM >To: Commons HttpClient Project >Subject: Re: [RFE] provide request entities in a more abstract way > > >> In the second case, >> I would add something like isRepeatable() to handle cases >where it is >> indeed not possible to read the data twice. > >My point was to force the user to make it repeatable. Yet, I >am not sure >if that is a good idea. You may be right that not all (especially >streaming) data in the world may be available twice.
This is a bad idea. The HTTP RFC (2616) explicitly forbids auto retries: "Non-idempotent methods or sequences MUST NOT be automatically retried, although user agents MAY offer a human operator the choice of retrying the request(s). " So if retries are not good, then what's the point of the interface? Thanks Moh --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]