[Bug 425874] Re: "No screenshot available" handling

Kiwinote kiwinote at gmail.com
Tue Sep 8 14:48:03 UTC 2009


@mpt:
no, the placeholder image doesn't come with a 404 response code.

A not so clean workaround would be to check the filesize and the last
modified date of the image. If you looked at both of them you could be
reasonably sure if the image returned is or isn't the placeholder image. The
only problems with that would be that once in however many thousand times
you may block an image which you shouldn't and that you would need to roll
out a new update of software-store if the screenshots.debian.org people
modify the image.

-- 
"No screenshot available" handling
https://bugs.launchpad.net/bugs/425874
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list