Hi Mohammad,

This issue has been addressed just recently post 3.0rc1:

http://issues.apache.org/bugzilla/show_bug.cgi?id=33468

Cheers,

Oleg

On Wed, 2005-02-23 at 11:31 -0500, Rezaei, Mohammad A. wrote:
> In HttpMethodBase, the http headers are flushed before the content is
> written. Is there any reason for this other than Expect-Continue handling?
> The reason I ask is that for small POST requests, this generates twice as
> many network packets as necessary. If this is just for Expect-Continue
> handling, would it be possible to move the flush inside the handling code?
> That is, 
> 
>         // make sure the status line and headers have been sent
>         conn.flushRequestOutputStream();
> 
> Moves into the if statement:
> 
>         if ((expectvalue != null) 
>          && (expectvalue.compareToIgnoreCase("100-continue") == 0)) {
>             if (ver.greaterEquals(HttpVersion.HTTP_1_1)) {
> 
> Thanks
> Moh
> 
> 
> ---------------------------------------------------------------------
> 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