Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Make content type checking less strict #24

Closed
wants to merge 1 commit into from
Closed

Make content type checking less strict #24

wants to merge 1 commit into from

Conversation

symm
Copy link

@symm symm commented Oct 17, 2019

Thanks for making graphql-java-spring 👍

I've run into an issue when a doing a query with a content-type of application/json;charset=UTF-8. The GraphQLController rejects the request because strict matching does not like the ;charset=UTF-8 on the end

This PR updates both controllers to be less strict when checking the incoming content type.

@marceloverdijk
Copy link
Contributor

I think #13 already solves this.

@symm
Copy link
Author

symm commented Oct 22, 2019

Thanks @marceloverdijk I opened this smaller change because I saw no activity on that PR since 27 Jun. Happy if either gets merged as long as it gets fixed :)

@symm symm closed this Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants