You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2003/07/25 12:07:37 UTC
DO NOT REPLY [Bug 21880] New: -
Content-Length & Transfer-Encoding request headers should be handled by entity enclosing methods
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21880>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21880
Content-Length & Transfer-Encoding request headers should be handled by entity enclosing methods
Summary: Content-Length & Transfer-Encoding request headers
should be handled by entity enclosing methods
Product: Commons
Version: 2.0 Beta 2
Platform: Other
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: HttpClient
AssignedTo: commons-httpclient-dev@jakarta.apache.org
ReportedBy: olegk@apache.org
Currently 'Content-Length' & 'Transfer-Encoding' request headers are handled by
the HttpMethodBase class. This is conceptually wrong and error-prone in my
opinion. Entity enclosing methods should control 'Content-Length' & 'Transfer-
Encoding' request headers instead, as they provide request content and
encapsulate the requisite content transfer logic.