-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
A mechanism for adding non-ASCII headers #4296
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
It's my preference that we only expose this via the builder, named |
Thanks! |
https://github.com/square/okhttp/blob/parent-3.12.0/okhttp/src/main/java/okhttp3/MultipartBody.java#L259 |
Use addUnsafeNonAscii(...) that was previously added to Headers.Builder[1]. [1] square#4296
Use addUnsafeNonAscii(...) that was previously added to Headers.Builder[1]. [1] square#4296
As suggested in #4283 (comment).