bowenliang123 commented on issue #4106: URL: https://github.com/apache/kyuubi/issues/4106#issuecomment-1378265635
I am having trouble in implementing upload files by adding `MULTIPART_FORM_DATA` in @Consumes. ` @Consumes(Array(MediaType.MULTIPART_FORM_DATA, MediaType.APPLICATION_JSON))` or ` @Consumes(Array(MediaType.APPLICATION_JSON))`. `MultiPartFeature` is registered in both client and server, referring to Jersey docs https://eclipse-ee4j.github.io/jersey.github.io/documentation/latest/user-guide.html#multipart Having HTTP code 415 `Unsupported Media Type` in response in a unit test. Also, it seems Livy doesn't support uploading jars. (`POST /sessions` https://livy.incubator.apache.org/docs/latest/rest-api.html) -- 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]
