Custom HTTP header value - trying to pass umlaut characters

青春壹個敷衍的年華 提交于 2019-11-29 16:40:08
samz

Summary of what was written in the other related question and in comments:

  • You may put any 'printable' ASCII char in your custom header value field.
  • If you want to use special characters, encode these characters following whatever rules/charset/encoding you choose. As long as this encoding it uses simple ASCII chars, it's OK. An example is using UTF-8 and encoding string chars to \u%%.
  • On the server side - you must manually make sense out of the encoded string, probably by decoding it using the rules of the character set/encoding paradigm you chose before.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!