commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11095] - PostMethod - Chunked requests are not supported at the moment.
Date Tue, 23 Jul 2002 21:01:50 GMT
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=11095>.
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=11095

PostMethod - Chunked requests are not supported at the moment.

jsdever@sympatico.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|commons-                    |jsdever@sympatico.ca
                   |dev@jakarta.apache.org      |
           Severity|Major                       |Normal
         OS/Version|Other                       |All
           Priority|Other                       |Medium
           Platform|Other                       |All
            Version|Nightly Builds              |2.0 Milestone 1



------- Additional Comments From jsdever@sympatico.ca  2002-07-23 21:01 -------
HttpClient does support chunking requests and responses on the respective 
output/input streams.  Chunking requests can be set when using the 
HttpConnection method <code>public OutputStream getRequestOutputStream(boolean 
useChunking)</code>

The PutMethod does allow for chunking with the funky call 
<code>conn.getRequestOutputStream((isHttp11() && (null == getRequestHeader
("Content-Length"))</code> and then writes to the output stream.

But the PostMethod just calls con.write directly, so the chunking code in the 
stream is bypassed.  This seems like a reasonable request to do in the 2.0 
timeframe.

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


Mime
View raw message