Skip to content

Commit 186a9d0

Browse files
author
Stephane Landelle
committed
Fix build
1 parent 1d5392e commit 186a9d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/main/java/org/asynchttpclient/RequestBuilderBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ private void executeSignatureCalculator() {
650650
}
651651

652652
private void computeRequestCharset() {
653-
if (request.charset != null) {
653+
if (request.charset == null) {
654654
try {
655655
final String contentType = request.headers.getFirstValue("Content-Type");
656656
if (contentType != null) {

0 commit comments

Comments
 (0)