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

Bugfix/996 default formats #998

Merged
merged 2 commits into from
Jan 21, 2025
Merged

Bugfix/996 default formats #998

merged 2 commits into from
Jan 21, 2025

Conversation

MikeNeilson
Copy link
Contributor

After deploying and querying data in a browser I notice we were getting a not formatter available message. This was caused by, at least in firefox, the catch all being */*;q=0.8 instead of just */* so with the ContentTypeAliasMap being String,ContentType.

Changed it to ContentType,ContentType so that our looser equals (ignoring all parameters except version) would apply.

Also had to update some tests as the FireFox Accept string I borrowed has application/xml at a higher priority than the catch all.

Using a string caused the browser default not to match the default for anything
from a browser that had a priority parameter in it.
@MikeNeilson MikeNeilson merged commit 974ab51 into develop Jan 21, 2025
3 checks passed
@MikeNeilson MikeNeilson deleted the bugfix/996-default-formats branch January 21, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved-W192HQ23F0232-task4 Only valid if set by MikeNeilson, DanielO, CharlesG priority:high
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants