#599425 packages.d.o: do not say 200 OK on errors

Package:
www.debian.org
Source:
www.debian.org
Submitter:
Peter Palfrader
Date:
2021-09-22 04:27:29 UTC
Severity:
normal
Tags:
#599425#5
Date:
2010-10-07 14:49:08 UTC
From:
To:
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

#599425#12
Date:
2011-03-27 20:01:53 UTC
From:
To:
tags 599425 +patch
thanks

Hi,

Such cases are actually planned by current code, but were not used.

However with the working patch attached (using something else than default
200):
- it leads the message error to be bare apache styled, so the only solution to
  that would be apache configuration (including l10n) using static files built
from templates.
- the message error itself is my default the default apache one, unless
  specifed otherwise: either we can do it by default in fatal_error function,
  or at each call (more conservative solution).

#599425#17
Date:
2018-06-03 02:57:55 UTC
From:
To:
Do you need financial support for your business or personal purpose? We offer cheap and fast loans. Contact us for more details on: startriteloans@financier.com
#599425#22
Date:
2021-09-22 04:11:07 UTC
From:
To:
Hello,

Good morning,

We have gone through your samples from a partner and Here is our  Order
List. Please do bear in mind that we are very much in  need of this
order, quote your competitive prices.

Kindly send the Order confirmation.

Your early reply will be much appreciated.

Best Regards,

Maryanah Erwin.

PT FINDORA INTERNUSA

Jln Pahlawan 66 Kec. Arjawinangun

45162 CIREBON West-Java INDONESIA

tel : +62 231 357334

fax: +62 231 357260

email: marketing@findora.com