HTTP headers encoding/decoding in Java

后端 未结 5 1342
我寻月下人不归
我寻月下人不归 2020-11-30 06:14

A custom HTTP header is being passed to a Servlet application for authentication purposes. The header value must be able to contain accents and other non-ASCII characters, s

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-30 06:37

    The HTTPbis working group is aware of the issue, and the latest drafts get rid of all the language with respect to TEXT and RFC 2047 encoding -- it is not used in practice over HTTP.

    See http://trac.tools.ietf.org/wg/httpbis/trac/ticket/74 for the whole story.

提交回复
热议问题