I have a simple asp.net core
app that sends HttpRequest
with custom header for username.
The username
header value type is UTF-8
string.
The problem is that whenever this string contains non-ascii characters, an exception 'Request headers must contain only ASCII chatacters' is thrown (see image below). Is there away to bypass this?