Mailinglist Archive: opensuse-buildservice (248 mails)

< Previous Next >
Re: [opensuse-buildservice] support for http range requests
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Wed, 14 Oct 2009 16:28:19 +0200
  • Message-id: <20091014142818.GA27832@xxxxxxx>
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@xxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References