We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We have some cases where the content charset from the Apache HTTP entity is null:
JavaClient:42 : val contentCharset = Option(ContentType.get(entity)).fold(Charset.forName("UTF-8"))(_.getCharset)
val contentCharset = Option(ContentType.get(entity)).fold(Charset.forName("UTF-8"))(_.getCharset)
This leads to a NPE in Scalas Codec:65: val dec = charSet.newDecoder()
val dec = charSet.newDecoder()
The text was updated successfully, but these errors were encountered:
Fixing issue Philippus#2545, NullPointerException in JavaClient:42 ge…
fb77840
…tting content charset from entity
Fixing issue #2545, NullPointerException in JavaClient:42 getting con…
c7f2532
…tent charset from entity (#2546)
I've released 7.15.1 with this.
Sorry, something went wrong.
No branches or pull requests
We have some cases where the content charset from the Apache HTTP entity is null:
JavaClient:42 :
val contentCharset = Option(ContentType.get(entity)).fold(Charset.forName("UTF-8"))(_.getCharset)
This leads to a NPE in Scalas Codec:65:
val dec = charSet.newDecoder()
The text was updated successfully, but these errors were encountered: