Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screenshot service no longer passing date through correctly. #34

Open
anjackson opened this issue Aug 16, 2022 · 3 comments
Open

Screenshot service no longer passing date through correctly. #34

anjackson opened this issue Aug 16, 2022 · 3 comments
Assignees
Labels

Comments

@anjackson
Copy link
Contributor

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.

@anjackson anjackson self-assigned this Aug 16, 2022
@anjackson anjackson added the bug label Aug 16, 2022
@anjackson
Copy link
Contributor Author

It's weird though, as some timestamps to seem to work as expected. e.g. even just an hour different, say.

@anjackson
Copy link
Contributor Author

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.

@anjackson
Copy link
Contributor Author

anjackson commented Aug 16, 2022

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant