Project is .NET 3.1 and we are sending requests to Ocelot.
However, we are using an email with special character, such as: sömêthìng@example.com
So, when user authenticates, the bearer token will have this email because it's also the user's username.
However, when sending the request to Ocelot, I'm having the following exception: System.Net.Http.HttpRequestException: Request headers must contain only ASCII characters.
However, I read that this was treated in .NET 2.1 (or 2.2). Is this still an issue with 3.1? I tried to converted to base64, but the same exception occurred, like this:
Thanks!