RestClient
RestClient copied to clipboard
Request headers must contain only ASCII characters
When I use restclient to simulate login, I need to keep the cookie, but there is a FriendlyName attribute in the cookie returned by the server that contains non-ascii characters, and then the second request will be wrong "Request headers must contain only ASCII characters"


Can you try encoding that cookie? That error is handled by UnityWebRequest system 🤔
Can you paste your code here, so that I may try and reproduce it on my end?