We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7faf151 commit e357b23Copy full SHA for e357b23
src/main/java/net/avalara/avatax/rest/client/RestCall.java
@@ -149,7 +149,7 @@ public T call() throws Exception {
149
String json = null;
150
try {
151
HttpEntity entity = response.getEntity();
152
- if (entity!=null && entity.getContentLength()>0)
+ if (entity!=null)
153
json = EntityUtils.toString(entity);
154
155
if (response.getStatusLine().getStatusCode() / 100 != 2)
0 commit comments