Skip to content

Avoiding making multiple requests of the info.json when using the same URL #218

@giacomomarchioro

Description

@giacomomarchioro

As @markpbaggett noticed it might occur that multiple requests to the same URL are done when using set_hwd_from_iiif helper for retrieving the info.json file of a IIIF resource and getting the width and the height of the image.

response = requests.get(url)

For instance this is used at least twice (at Canvas level and resource level) for each Canvas supporting image servers.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions