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

API 404s if trailing slash is omitted from URL #467

Open
AdamWill opened this issue Sep 11, 2017 · 0 comments
Open

API 404s if trailing slash is omitted from URL #467

AdamWill opened this issue Sep 11, 2017 · 0 comments

Comments

@AdamWill
Copy link

Try this:

https://pdc.fedoraproject.org/rest_api/v1/compose-images/Fedora-26-20170705.0

Then try this:

https://pdc.fedoraproject.org/rest_api/v1/compose-images/Fedora-26-20170705.0/

That's pretty unhelpful! Also, I'm pretty sure it changed at some point, and PDC used to gracefully handle URLs with the trailing / omitted, because the code I wrote that's running into this issue has not changed since I wrote it (and thus never should have worked, if URLs without the trailing / had never worked).

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

No branches or pull requests

1 participant