提交 be9cd1c2 编写于 作者: E Eric Butler

Fix for 204 'No Content' responses.

上级 8c50ec43
......@@ -190,7 +190,7 @@ public class RestAdapter {
return new ResponseWrapper(response, response);
}
if (body == null) {
return null;
return new ResponseWrapper(response, null);
}
try {
Object convert = converter.fromBody(body, type);
......@@ -367,4 +367,4 @@ public class RestAdapter {
}
}
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册