-
Notifications
You must be signed in to change notification settings - Fork 441
Fix content-header parsing in juniper_axum #1289
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 content-header parsing in juniper_axum #1289
Conversation
Check media type using `starts_with` instead of full string matching. Fixes graphql-rust#1288 Signed-off-by: Joe Grund <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the great report and the PR! 🍻
Two quick things:
- Can you add an entry to the
CHANGELOG
? - Can you add a test so we don't regress this in the future? (if it is too hard / will take too much time, please feel free to comment as such!)
Done |
8c16b30
to
b83ce7d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again!
Thank you, can we cut a new release of |
Signed-off-by: Joe Grund <[email protected]>
#1288) Signed-off-by: Joe Grund <[email protected]>
@jgrund thank you for the PR! Backported and released as 0.1.1: https://crates.io/crates/juniper_axum/0.1.1 |
Check media type using
starts_with
instead of full string matching.Fixes #1288