On Sat, 2023-02-11 at 22:21 +0530, sreenivas somavarapu wrote:
> Hi Oleg,
> 
> There is a *getContentLength* method in
> *AbstractClassicEntityProducer* which
> is final and can’t be overwritten (see below) and always return -1
> and also
> there is no variable which holds content length to overwrite it. If
> we add
> ContentLength header to request builder we get an exception as below.
> Is
> there any other way to generate contentLength.
> 
> 


We cannot make everyone happy. Use a custom AsyncEntityProducer
implementation instead of  AbstractClassicEntityProducer.

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to