HTTPCLIENT-2126: `InternalAbstractHttpAsyncClient` incorrectly handles response messages with no enclosed entity

This commit is contained in:
Oleg Kalnichevski 2020-11-06 09:37:25 +01:00
parent 1cd0f73746
commit f6333a5001
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ abstract class InternalAbstractHttpAsyncClient extends AbstractHttpAsyncClientBa
}
});
return responseConsumer;
return entityDetails != null ? responseConsumer : null;
}
@Override