[Yum] Spawning a temporary Yum Server: Header issues

seth vidal skvidal at linux.duke.edu
Wed Apr 26 19:11:12 UTC 2006


On Wed, 2006-04-26 at 12:05 -0700, Michael Stenner wrote:
> On Wed, Apr 26, 2006 at 02:57:20PM -0400, Jesse Noller wrote:
> > On 4/26/06, seth vidal <skvidal at linux.duke.edu> wrote:
> > >
> > > Does the python http server support http byte ranges?
> > >
> > > I thought python's built in server was only http 1.0 compatible.
> > >
> > > -sv
> > >
> > 
> > You can force it to 1.1, but I was not aware that yum required byte
> > ranges, I'll try forcing the 1.1 protocol and try it again.
> 
> I just read through SimpleHTTPServer.py and BaseHTTPServer.py and
> (after a cursory look) do not see where it does byte ranges.  I don't
> think it does.  "Forcing the 1.1 protocol" simply turns on keepalive,
> I think.  You'll probably need to hack in byte ranges, although that
> would really not be hard and would probably be a welcome addition
> upstream.

Are you bored Michael? Feel like taking care of that? :)

-sv





More information about the Yum mailing list