pan3793 commented on code in PR #4221:
URL: https://github.com/apache/kyuubi/pull/4221#discussion_r1093965698
##########
kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/IRestClient.java:
##########
@@ -27,6 +28,8 @@ public interface IRestClient extends AutoCloseable {
<T> T post(String path, String body, Class<T> type, String authHeader);
+ <T> T post(String path, HttpEntity requestEntity, Class<T> type, String
authHeader);
Review Comment:
one concern is that `org.apache.http.HttpEntity` is leaked to public API, if
we want to shade `org.apache.http.*` in the future, it will be a breaking change
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]