Try a different url for IIIF images with weird formats
The Image.perform_check method uses urljoin to build the info.json.
This is perfectly fine, except when we encounter weird IIIF server that use query strings.
The method should try 2 urls to get the IIIF payload:
- the current one, with urljoin
- a second one, using
.formatto appendinfo.jsonwithout url analysis
The algorithm would then become:
- build both urls, store them in a set (thus avoiding duplicate requests)
- try all urls in the set
- break on the first success
- if no query result in a 200, raise same exception
See https://gitlab.com/arkindex/requests/-/issues/304 for details