[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

http://packages.debian.org/ webserver doesn't support HTTP Time-Stamping (as expected, at least)


I'm trying to monitor updates to three unstable packages using trusty
old "websec" (http://baruch.ev-en.org/proj/websec/) and noticed that the
http://packages.debian.org/ webserver returns "HTTP/1.1 304 Not
Modified" responses where it shouldn't as can be seen from the example
using "wget" below. Is it possible to fix this w/o me having to turn off
timestamp checking? Thanks in advance! :)

[So Apr 18 09:43:55 ueberall@enton .websec]$ ll archive/deb-sid-jrejdk.html
-rw-r--r-- 1 ueberall ueberall 16359 2010-03-25 18:18
[So Apr 18 09:44:04 ueberall@enton .websec]$ wget -O
/tmp/deb-sid-jrejdk.html --header="If-Modified-Since: Thu, 25 Mar 2010
17:18:19 GMT" -S http://packages.debian.org/de/sid/sun-java6-jre
--2010-04-18 09:44:14--  http://packages.debian.org/de/sid/sun-java6-jre
Resolving packages.debian.org (packages.debian.org)...,,, ...
Connecting to packages.debian.org
(packages.debian.org)||:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 304 Not Modified
  Date: Sun, 18 Apr 2010 07:44:00 GMT
  Server: Apache
  Connection: Keep-Alive
  Keep-Alive: timeout=15, max=100
2010-04-18 09:44:14 ERROR 304: Not Modified.

[So Apr 18 09:44:14 ueberall@enton .websec]$ diff --brief
archive/deb-sid-jrejdk.html /tmp/deb-sid-jrejdk.html
Files archive/deb-sid-jrejdk.html and /tmp/deb-sid-jrejdk.html differ

Ad astra, Markus

Reply to: