Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request headers must contain only ASCII characters #195

Open
sealoyal2018 opened this issue Dec 7, 2021 · 2 comments
Open

Request headers must contain only ASCII characters #195

sealoyal2018 opened this issue Dec 7, 2021 · 2 comments

Comments

@sealoyal2018
Copy link

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"
image

image

@jdnichollsc
Copy link
Member

Can you try encoding that cookie? That error is handled by UnityWebRequest system 🤔

@maifeeulasad
Copy link
Collaborator

Can you paste your code here, so that I may try and reproduce it on my end?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants