Support for parsing Content-Type
with non-UTF-8 charset
directive
#95
Labels
feature
New functionality or improvement
Content-Type
with non-UTF-8 charset
directive
#95
Support plan
Context
17.9.0
7.0.3
What problem are you trying to solve?
Parser doesn't do anything with
Content-Type
header withcharset
directive. It only parses payload buffer byutf8
, hardcoded. Only way to process non-UTF-8 payload is disable internal parser viaroute.options.payload.parse: false
and decode raw buffer manually, losing all benefits from hapi framework.Do you have a new or modified API suggestion to solve the problem?
charset
directive, or create an option for custom payload decoder.internals.object
is ignoring charset part ofContent-Type
header and stick with stringify payload buffer byutf8
encoding (text, json, form)The text was updated successfully, but these errors were encountered: