Charset of application/x-www-form-urlencoded requests/responses

Issue #2055 resolved
Joseph Heenan created an issue

VP defines various http messages that have the content-type application/x-www-form-urlencoded.

I cannot see anything that specifies the charset. Normally I think this would not matter too much as the content is normally ASCII - however I think presentation_definition and presentation_submission can contain non-ASCII characters (couldn’t spot anything in https://identity.foundation/presentation-exchange/ that says anything either way) so we should explicitly state UTF-8 charset to be used I think.

Comments (2)

  1. Paul Bastian

    The default webclient implementation in Kotlin sets the content-type “application/x-www-form-urlencoded;charset=UTF-8”, that’s how the issue came up in the conformance tests

  2. Log in to comment