Validation fails when charset is specified in Content-Type
nono3551 opened this issue · comments
Michal Záhradník commented
When Content-Type: 'application/json' is sent in POST request, validation is successful. Problem is that library does not when charset is specified.
Validation fails for Content-Type: 'application/json; charset=utf-8'.
https://tools.ietf.org/html/rfc2616#page-124
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type
There is another directive boundary which may also beak library behavior.
Jakub Dubec commented