[twsocket] Is it possible to download a 1 byte range with THttpServer..?

2010-09-11 Thread Fastream Technologies
Hello, I think somebody should have a look at this as this scenario is the most common bug in such code. Found it in mine. Regards, SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at ht

Re: [twsocket] THttpServer - How to handle unimplemented request methods

2010-09-11 Thread Arno Garrels
RTT wrote: > Done. I've now sent you a PM with the .diff file. Thanks. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be

Re: [twsocket] Is it possible to download a 1 byte range withTHttpServer..?

2010-09-11 Thread Arno Garrels
Fastream Technologies wrote: > Is it possible to download a 1 byte range withTHttpServer..? Yes, try: HttpCli1.ContentRangeBegin := '1'; HttpCli1.ContentRangeEnd := '1'; against Webserv demo. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http:/

Re: [twsocket] Is it possible to download a 1 byte range withTHttpServer..?

2010-09-11 Thread Fastream Technologies
Ok but file ranges start from "0" not "1" so that also must be implemented: HttpCli1.ContentRangeBegin := '0'; HttpCli1.ContentRangeEnd := '0'; Regards, SZ On Sat, Sep 11, 2010 at 10:49 AM, Arno Garrels wrote: > Fastream Technologies wrote: > > Is it possible to download a 1 byte range with

Re: [twsocket] THttpServer - How to handle unimplemented request methods

2010-09-11 Thread Angus Robertson - Magenta Systems Ltd
> But, why don't keep the naming schema? TriggerAfterProcessRequest ( > and respective OnAfterProcessRequest) would be less confuse. The event is between two processing stages, so could be named after one or before the other. What is the purpose of the OPTIONS method? Angus -- To unsubscribe

Re: [twsocket] Is it possible to download a 1 byte range withTHttpServer..?

2010-09-11 Thread Fastream Technologies
Any thoughts on this? Francois, did you read my first message? SZ On Sat, Sep 11, 2010 at 11:03 AM, Fastream Technologies wrote: > Ok but file ranges start from "0" not "1" so that also must be implemented: > > HttpCli1.ContentRangeBegin := '0'; > HttpCli1.ContentRangeEnd := '0'; > > Regards,

Re: [twsocket] Is it possible to download a 1 byte rangewithTHttpServer..?

2010-09-11 Thread Arno Garrels
Fastream Technologies wrote: > Ok but file ranges start from "0" not "1" so that also must be > implemented: > > HttpCli1.ContentRangeBegin := '0'; > HttpCli1.ContentRangeEnd := '0'; It works, why don't you test that yourself? -- Arno Garrels -- To unsubscribe or change your settings for

Re: [twsocket] Is it possible to download a 1 byte rangewithTHttpServer..?

2010-09-11 Thread Fastream Technologies
Ok. I must have looked at an older ICS version in which when FRequestRangeEnd == 0, it was assuming that there was no range... Thanks, SZ On Sat, Sep 11, 2010 at 11:50 AM, Arno Garrels wrote: > Fastream Technologies wrote: > > Ok but file ranges start from "0" not "1" so that also must be > >

Re: [twsocket] THttpServer - How to handle unimplemented request methods

2010-09-11 Thread RTT
On 11-09-2010 09:22, Angus Robertson - Magenta Systems Ltd wrote: What is the purpose of the OPTIONS method? From http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html "The OPTIONS method represents a request for information about the communication options available on the request/response ch