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.
2 parents 7faf151 + e357b23 commit 5575c96Copy full SHA for 5575c96
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