On Mon, 2020-05-04 at 01:07 +0200, Michael Osipov wrote:
> Folks,
> 
> why does RequestExpectContinue require entity.getContentLength() !=
> 0? 
> 5.1.1. Expect does not require a content length to be set. It only 
> requires a request body. What if the request body is sent in chunks?
> 

In that case the entity#getContentLength() call would return -1 and the
test would fail. 

Oleg

> Am I wrong here?
> 
> Michael
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to