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

implemented simple wemi resolution #549

Merged
merged 8 commits into from
Jul 19, 2024
Merged

implemented simple wemi resolution #549

merged 8 commits into from
Jul 19, 2024

Conversation

wmelder
Copy link
Contributor

@wmelder wmelder commented Jul 9, 2024

@wmelder wmelder marked this pull request as draft July 9, 2024 14:11
@wmelder wmelder requested a review from mwigham July 19, 2024 09:51
@wmelder wmelder marked this pull request as ready for review July 19, 2024 09:52
@wmelder wmelder self-assigned this Jul 19, 2024
Copy link
Contributor

@mwigham mwigham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked this out and ran the tests, all green. I also tried out both curl and the swagger api for a couple of examples, those redirect nicely, using the 302.

The only issue is that there is now no status code set when the RDF is returned. Not a serious problem as it still works, but both curl and the swagger api are then unhappy that there is no valid status code, which could confuse a user.

@wmelder
Copy link
Contributor Author

wmelder commented Jul 19, 2024

not what I expected. Thanks for noticing. good to have these things reviewed.
It must have been the fact that I returned 0 instead of None for the status_code in case of missing postfix.

@wmelder wmelder requested a review from mwigham July 19, 2024 14:45
Copy link
Contributor

@mwigham mwigham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all fine now!

@wmelder wmelder merged commit d86b2a5 into main Jul 19, 2024
1 check passed
@wmelder wmelder deleted the add-wemi-to-resource branch July 19, 2024 15:12
@wmelder wmelder restored the add-wemi-to-resource branch July 19, 2024 15:12
@wmelder wmelder deleted the add-wemi-to-resource branch July 19, 2024 15:13
@beeldengeluid beeldengeluid deleted a comment from wmelder Aug 14, 2024
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.

2 participants