Opened 7 years ago

Closed 3 years ago

#520 closed enhancement (fixed)

Last-Modified header for http://www.i2p2.de/hosts.txt

Reported by: mk Owned by: welterde
Priority: obsolete Milestone: n/a
Component: www/i2p Version:
Keywords: Cc:
Parent Tickets:

Description

It would be nice to have a Last-Modified: header for hosts.txt, so that, e.g., "wget -N" could be used in automatic build environments.

Subtickets

Change History (4)

comment:1 Changed 7 years ago by zzz

  • Owner set to welterde
  • Priority changed from trivial to minor
  • Status changed from new to assigned

It has etag now, which is sufficient for browsers, eepget, addressbook, etc.

Most pages are dynamic, which is presumably why it doesn't generate last-mod now. Perhaps it could be added for .txt files.

comment:2 Changed 7 years ago by zzz

  • Priority changed from minor to maintenance

comment:3 Changed 5 years ago by str4d

  • Milestone set to 0.9.10
  • Status changed from assigned to testing

"wget -N" works on hosts.txt with the new website (the file is not redownloaded on second execute). Is this sufficient?

comment:4 Changed 3 years ago by aargh

  • Milestone changed from 0.9.10 to n/a
  • Priority changed from maintenance to obsolete
  • Resolution set to fixed
  • Status changed from testing to closed

I tested and can confirm that http://www.i2p2.de/hosts.txt does a few 301 redirects and eventually lands on https://geti2p.net/hosts.txt -- this final destination has both Last-Modified and ETag headers which seems sufficient to me.

If something else needs to be done here please reopen.

Note: See TracTickets for help on using tickets.