[Grub-dev] do we even really need a native client

Balinny balinny at gmail.com
Fri Jan 11 00:24:52 UTC 2008


jer wrote:
> So, I think you're right and it's missing a \n, but maybe it's  
> missing TWO of them?
>
> doc == <nl><URL-record><nl><network_doc>
>
> URL-record-v1 == <url><sp>
> <ip-address><sp>
> <archive-date><sp>
> <content-type><sp>
> <length><nl>
>
> So, there should be a \n before each URL record, and two of them  
> after it, one defined as the terminator in URL-record-v1, and one  
> defined as the separator between URL-record and network_doc.  Is that  
> correct?
>
> print $arc "\nhttp://$host$path $ip 19691231175959 $ctype",length 
> ($body),"\n\n$body";
>
> Is that correct?  Can anyone else verify?
>   
So it seems.

>> However, getting the result compressed seems worthwhile.
>>     
>
> The workunits can (someday) start to define HTTP/1.1 with a  
> Connection: close, and an Accept-encoding: gzip.  A client supporting  
> the current workunit format shouldn't care or know any different, right?
>   
The client's bandwidth might care ;-)
>> The workunits have a header: "Agent: Grub WU1", but such header is -to
>> my knowledge- not
>> defined anywhere. I think it was meant to be User-Agent (rfc1945  
>> section
>> 10.15 / rfc2616 sect 14.43).
>>     
>
> Doh!  My bad, I can fix it when I generate some more workunits :)
>
> Jer
>   
:-)
Aren't they generated on-the-fly?


More information about the Grub-dev mailing list