You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The initial check to turn off the coercion of the request body when the header is application/json was:
ctx.req.get('content-type')==='application/json'
If the content-type header is extended with the charset definition (i.e application/json;charset=UTF-8), the body is coerced and that is NOT what we want :)
Here is the PR for a fix, updating the check for allowing this use case: #266
The text was updated successfully, but these errors were encountered:
The initial check to turn off the coercion of the request body when the header is
application/json
was:If the
content-type
header is extended with the charset definition (i.eapplication/json;charset=UTF-8
), the body is coerced and that is NOT what we want :)Here is the PR for a fix, updating the check for allowing this use case: #266
The text was updated successfully, but these errors were encountered: