hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Why is Part Content-Length Missing?
Date Wed, 18 Jan 2006 19:42:30 GMT
S. Aden wrote:
> I am trying to post several files to a server using HTTPClient 3.0 and
> would like to include the length of each file part in the part header.
> Looking at the HTTPClient 3.0 code and I see that for each part
> Content-Disposition, Content-Type, and Content-Transfer-Encoding are
> sent in the header but Content-Length is not. I guess my question is,
> is there a good reason why it was left out and would a patch that adds
> Content-Length to each part header be accepted for future HTTPClient
> release?
> 

Because the Content-Length header is not required by the MIME spec

Hope this explains it

Oleg


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Mime
View raw message