Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@clemensm
Copy link
Contributor

I.e. when making a request with "Content-Type": "application/multipart",
the content type will not be matched correctly and the serializer for
"application/json" will be incorrectly applied to the body.

The same problem happens for the "accept" header, if the content type
is parsed correctly, but "Accept" in the params uses an uppercase "A".

The workaround for those issues for now is to simply use only lowercase
headers, and no atoms.

I.e. when making a request with "Content-Type": "application/multipart",
the content type will not be matched correctly and the serializer for
"application/json" will be incorrectly applied to the body.

The same problem happens for the "accept" header, if the content type
is parsed correctly, but "Accept" in the params uses an uppercase "A".

The workaround for those issues for now is to simply use only lowercase
headers, and no atoms.
Copy link
Member

@scrogson scrogson left a comment

Choose a reason for hiding this comment

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

Thank you 👍

@scrogson scrogson merged commit ce4fd5e into ueberauth:master Aug 26, 2021
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