Re: [twsocket] [PATCH] THttpSrv: add support forreturningpartialstreams

2012-02-05 Thread Arno Garrels
RTT wrote: On 04-02-2012 16:45, Arno Garrels wrote: That's a question too, IMO accept/handle ranges should be optional and silently changing the default behaviour of an existing method is questionable, no? I totally agree with that. The server should have an options property to specify

Re: [twsocket] [PATCH] THttpSrv: add support forreturningpartialstreams

2012-02-05 Thread RTT
On 05-02-2012 12:15, Arno Garrels wrote: So there must be an option to allow ranges on a per request basis. A new method would provide such an option. I see. A new method then (and AnswerStreamAcceptRange seems more appropriate). Or, probably better, replace the AnswerStream code with the new