When resources change based on Headers sent, a Vary response header should be sent by the API explaining what headers can be used to change the response.
Given that we can show either hierarchical or presentation based on the X-IIIF-CS-Show-Extras and Authorization headers (with redirects etc.) we should advertise the presence of this functionality with a Vary header
Acceptance criteria:
Vary: X-IIIF-CS-Show-Extras, Authorization header added to GET hierarchical + presentation collections
When resources change based on Headers sent, a
Vary
response header should be sent by the API explaining what headers can be used to change the response.Given that we can show either hierarchical or presentation based on the
X-IIIF-CS-Show-Extras
andAuthorization
headers (with redirects etc.) we should advertise the presence of this functionality with aVary
headerAcceptance criteria:
Vary: X-IIIF-CS-Show-Extras, Authorization
header added to GET hierarchical + presentation collections