Open anjackson opened 2 years ago
It's weird though, as some timestamps to seem to work as expected. e.g. even just an hour different, say.
Hmmm,
19950630120000
{"Accept-Datetime":"Fri, 30 Jun 1995 12:12:00 GMT"}
https://www.webarchive.org.uk/api/iiif/2/urn:pwid:webarchive.org.uk:1995:04:20T15:56:00Z:page:http%3A%2F%2Fportico.bl.uk%2F/0,0,1024,512/600,/0/default.png
...
{"Accept-Datetime":"Thu, 20 Apr 1995 15:15:00 GMT"}
The seconds are not being set at all, oddly. Dates look right though?
Seems some cached version was clogging things up. Took a while to remove the clag.
So, the main problem was cached images from an earlier, messed-up version. There seems to be a remaining problem with seconds not being send through (the hour is repeated instead, I think).
From PyWB, we have image URLs like:
https://www.webarchive.org.uk/api/iiif/2/urn:pwid:webarchive.org.uk:1995:04:18T15:56:00Z:page:http%3A%2F%2Fportico.bl.uk%2F/0,0,1024,512/600,/0/default.png
But this is not showing the 1995 version of the site, but rather the most recent version. So the timestamp isn't making it through.