You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by St...@hyperion.com on 2002/12/13 16:28:36 UTC

[PATCH] ResponseInputStream processes content-coding header attribute incorrectly

Testing Weblogic responses identified a problem in
org.apache.commons.httpclient.ResponseInputStream because it was searching
for the "chunked" value of the Transfer-Encoding header attribute using
indexOf(), which is case -sensitive.

Reference, per Michael Smith  (thanks)

HTTP/1.1  (RFC2616) - Section 3.5, Paragraph 2:  "All content-coding values
are case-insensitive."


(See attached file: ChunkedResponseCasePatch.txt)



************************************************************************

If you received this e-mail in error please delete it and notify the sender as soon as possible. The contents of this e-mail may be confidential and the unauthorized use, copying, or dissemination of it and any attachments to it, is prohibited.

Internet communications are not secure and Hyperion does not, therefore, accept legal responsibility for the contents of this message nor for any damage caused by viruses. The views expressed here do not necessarily represent those of Hyperion.

For more information about Hyperion, please visit our Web site at www.hyperion.com

Re: [PATCH] ResponseInputStream processes content-coding header attribute incorrectly

Posted by Michael Smith <ms...@xn.com.au>.
Stan_Butler@hyperion.com wrote:
> Testing Weblogic responses identified a problem in
> org.apache.commons.httpclient.ResponseInputStream because it was searching
> for the "chunked" value of the Transfer-Encoding header attribute using
> indexOf(), which is case -sensitive.

Thanks, patch applied.

Mike



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>