For some POST calls in our API, we indicate the response location header for the created resource.
The location header may contain URLs with IDN characters (e.g. http://résponse.com )
When hosting an API in IIS, IIS changes the location header to http://résponse.com/
There is definitely something wrong with the encoding. When we make the API itself, the Location header is not affected. Is there some kind of tweak that I am missing in IIS that causes this behavior? Content type encoding is configured to utf-8, but this is already the default value in IIS, I think.
IIS version is 8.5+. We use the Web API, but using NancyFx leads to the same behavior.
source share