Tag Archives: wget

Broken webserver of Google Code

% curl -I http://gentoo-xen-kernel.googlecode.com/files/xen-patches-2.6.31-11.tar.bz2
HTTP/1.1 404 Not Found
Content-Type: text/html; charset=UTF-8
Set-Cookie: PREF=ID=913587349124edb1:TM=1267030254:LM=1267030254:S=gPkLxJgB22UJHzXo; expires=Fri, 24-Feb-2012 16:50:54 GMT; path=/; domain=gentoo-xen-kernel.googlecode.com
Date: Wed, 24 Feb 2010 16:50:54 GMT
Server: codesite_downloads
Content-Length: 1389
X-XSS-Protection: 0
% curl  http://gentoo-xen-kernel.googlecode.com/files/xen-patches-2.6.31-11.tar.bz2 2>/dev/null |file -
/dev/stdin: bzip2 compressed data, block size = 900k

This is really crazy sending 404 to HTTP HEAD requests, while 200 to HTTP GET requests, causing wget to break, which performs HTTP HEAD before HTTP GET to get value of Content-Disposition header.

Advertisements