Skip to content

Conversation

OKoneva
Copy link
Contributor

@OKoneva OKoneva commented Oct 12, 2018

val okHttpBody = ResponseBody.create(contentType, asyncHttpClientResponse.getResponseBodyAsBytes());
rspBuilder.body(okHttpBody);
} else {
rspBuilder.body(ResponseBody.create(null, ""));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make ResponseBody.create(null, "") a constant

@slandelle slandelle merged commit e3bbad7 into AsyncHttpClient:master Oct 16, 2018
@slandelle
Copy link
Contributor

Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants