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

Fix #158 - Location header after created collection invalid #222

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

p-kaczynski
Copy link
Contributor

Fixes #158

This one is a bit weird - it seems like it assumed that the request was made directly to the resource, like with PUT, so it's probably due to some code unification in the past.

I see how in the future the modified bit of code can become a switch expression with anything specific, but I didn't want to overengineer it until we hit any further issues.

@p-kaczynski p-kaczynski merged commit 0010def into main Jan 15, 2025
4 checks passed
@p-kaczynski p-kaczynski deleted the bugfix/158/post_collection_id branch January 15, 2025 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Requesting hierarchical GET on a newly created IIIF Collection returns JSON with wrong id
2 participants