[Grub-dev] Small error in protocol definition

Giorgos Logiotatidis seadog at sealabs.net
Sat Jan 17 17:11:27 UTC 2009


On Σαβ, 2009-01-17 at 00:57 +0100, Balinny wrote:
> Giorgos Logiotatidis wrote:
> > Hello,
> > 	I found a small error while trying to fix the 401 problem my python
> > client throws. 
> >
> > In [1], section 2 the size of the "Invalid URL" message is wrong
> >
> > The page says 
> > """
> > http://test 0.0.0.0 20080916122745 application/x-grub-error 39\n
> > HTTP/1.0 500 Invalid URL\r\n
> > \r\n
> > Invalid URL\r\n
> > """
> >
> > while it should say
> > """
> > http://test 0.0.0.0 20080916122745 application/x-grub-error 41\n
> > HTTP/1.0 500 Invalid URL\r\n
> > \r\n
> > Invalid URL\r\n
> > """
> >
> > Well changing that in the python client, did not cure the 401 problem so
> > I guess the server doesn't really care about that, but anyway that
> > should be fixed :)
> >   
> Nope. All ARC chunks end with \n (not \r\n as it seems to assume). That
> new line at the end is ending the
> chunk, not part of the web page (although many webs have leading new
> lines, which *do* pertain to the body).
> Although the server seemed to cope well without the ending \n at the end
> of the arc file (which IMHO is an error).
> 
> You can (directly) send me one of those failing files you produce. I'll
> happily take a look on where the problem may lie.

I will try a couple of things before sending you anything. If I still
can't find the error I will use some of your help :) Thanks!

-g



More information about the Grub-dev mailing list