I would like to send octet stream using chunked transfer encoding from
InputStream using Jersey.
WebTarget target = client.target("
http://localhost:8080")
.path("upload");
Invocation.Builder request = target
.request();
request.post(Entity.entity(is, MediaType.APPLICATION_OCTET_STREAM_TYPE));
However Jersey waits until all data is read from the input stream and only
then sends request with set Content-length. How to achive the chunked
encoding?
--
View this message in context: http://jersey.576304.n2.nabble.com/Jersey-client-upload-binary-stream-not-chunked-tp7582901.html
Sent from the Jersey mailing list archive at Nabble.com.