Hi, Is there a way to turn off chunking when sending with jetty client. HttpConnection.normalizeRequest contains a section where chunked transfer encoding is enforced when content provider length is not specified.
If I skip the normalization then the HttpGenerator.generateRequest->generateHeaders insist on falling back to chunked encoding because Connection: close doesn't avoid this fall back procedure because response(?) is missing. I just set end-of-content despite missing response (it's request after all that I'm generating) then the connection is (eventually) marked as non-persistent and chunking is avoided. -- View this message in context: http://jetty.4.x6.nabble.com/How-to-turn-off-Transfer-Encoding-Chunked-when-sending-with-jetty-client-tp4964913.html Sent from the Jetty User mailing list archive at Nabble.com. _______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
