On Sat, 2023-02-11 at 11:13 +0530, sreenivas somavarapu wrote:
> Hi Team,
> 
> We are currently trying to implement Apache HTTP Async Client API for
> handling HTTP 1.1 and HTTP 2.0 request (Using Servlet request and
> response). We have implemented classes using
> *AbstractClassicEntityConsumer*
> and *AbstractClassicEntityProducer* (as suggested in 5.2 migration
> guide)
> which generates request / consumes response into byte array. This
> results
> in all request being sent to web server (IIS / Apache) using
> *chuncked*
> encoding eventhough we don’t explicitly set it in request headers. Is
> this
> expected?

What content length does your entity producer return? If it is -1 the
protocol handler has no option other than using the chunk transfer
coding.

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