Bug#599425: packages.d.o: do not say 200 OK on errors
Package: www.debian.org
Severity: normal
Hey,
packages.d.o (and archive.d.n) say 200 OK even on errors.
e.g.:
| weasel@intrepid:~$ wget -S http://packages.debian.org/debian-volatile/dists/etch/volatile/main/source/Sources.bz2
| --2010-10-07 16:48:10-- http://packages.debian.org/debian-volatile/dists/etch/volatile/main/source/Sources.bz2
| Resolving packages.debian.org... 194.177.211.202, 87.106.64.223, 128.31.0.49, ...
| Connecting to packages.debian.org|194.177.211.202|:80... connected.
| HTTP request sent, awaiting response...
| HTTP/1.1 200 OK
| ^^^^^^^^^^^^^^^^^^
| Date: Thu, 07 Oct 2010 14:48:11 GMT
| Server: Apache
The document itself then says '<title>Debian -- Error</title>' but that's not
really enough.
Cheers,
weasel
Reply to: