On Wed, Oct 14, 2009 at 04:21:11PM +0200, Marcus Hüwe wrote:
what about adding http range request support [1] to the backend? After I comitted r8169 ("get only the last N bytes of a logfile") last week darix suggested to use the http "Range" header instead of the "start" and "end" query parameters. The advantage of using the range header is that it is already part of the protocol and the range header isn't limited to the "getlogfile()" function (we can use it whenever a file is replied).
Dunno, I don't see so many use cases. For the log file, I'd rather have "give me the last 1000 lines" instead of bytes. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org