[Grub-dev] C# Grubng 0.1 and few questions
Balinny
balinny at gmail.com
Sun Jan 27 23:47:58 UTC 2008
Bartek Jasicki wrote:
> I try to find this information on wiki or in archive but maybe I'm blind
> ;) I'm interested how many different answers can go from server
> ("Content accepted", any other?), how he create links for client -
> sometimes he send invalid URLs (for example with HTML code) and how long
> client must wait for answer on server (sometimes server dont answer even
> if all workunit is send)?
> If this is (invalid URLs) are normal - how client must react on it? Fix
> it or report as a invalid link? (for now it use this second option)
>
>
It seems everything with gz extension is accepted on /arc/
$ putarchive hotbits soap.grub.org /arcs/FooBar.gz
HTTP/1.1 200
Date: Sun, 27 Jan 2008 22:46:46 GMT
Server: Apache/1.3.28 (Unix)
Connection: close
Content-Type: text/html
<HEAD><TITLE>OK</TITLE></HEAD><H1>Content Accepted</H1>
(hotbits file are 2048 random bytes from
http://fourmilab.ch/hotbits/generate.html)
However, i'm unable to upload
Balinny.XXXXdde0b5c6490a7a229ae4c7516d962933be64.arc.gz :S
The file is uploaded, i can download it and it's ok, but the server
never answers, so the uploader stales waiting for the reply.
Behaviour is consistent with that content (which seems corrupted, like
working only /sometimes/, i'll need to recheck that).
> And one thing - maybe funny, maybe weird - but wiki projects (wikipedia,
> wikinews, wiktionary, wikibooks) have banned Grub client in robots.txt -
> this works even on C# client (he reports wiki links as a Not Found, but
> this sites can be view by normal browser - this looks like ban for Grub)
>
> Bartek
They aren't "Not found", but Forbidden (incidentally, it has been done
at squid level, robots.txt is not mandatory)
GET /wiki/Main_Page HTTP/1.0
Host: en.wikipedia.org
User-Agent: Grub WU1
HTTP/1.0 403 Forbidden
Server: squid/2.6.STABLE18
Date: Sun, 27 Jan 2008 23:43:30 GMT
Content-Type: text/html
Content-Length: 50773
Expires: Sun, 27 Jan 2008 23:43:30 GMT
X-Squid-Error: ERR_ACCESS_DENIED 0
X-Cache: MISS from knsq28.knams.wikimedia.org
X-Cache-Lookup: NONE from knsq28.knams.wikimedia.org:80
Via: 1.0 knsq28.knams.wikimedia.org:80 (squid/2.6.STABLE18)
Connection: close
More information about the Grub-dev
mailing list