commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient ResponseInputStream.java
Date Sun, 02 Dec 2001 17:17:30 GMT
remm        01/12/02 09:17:30

  Modified:    httpclient/src/java/org/apache/commons/httpclient Tag:
                        HTTPCLIENT_1_0 ResponseInputStream.java
  Log:
  - The name of the TEs is a case-insensitive value (see section 3.6 of the HTTP/1.1
    specification).
    Thanks to Paul C. Bryan <pbryan at creatia.com> for the patch.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.7.2.1   +5 -5      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/ResponseInputStream.java
  
  Index: ResponseInputStream.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/ResponseInputStream.java,v
  retrieving revision 1.7
  retrieving revision 1.7.2.1
  diff -u -r1.7 -r1.7.2.1
  --- ResponseInputStream.java	2001/09/01 21:40:45	1.7
  +++ ResponseInputStream.java	2001/12/02 17:17:30	1.7.2.1
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/ResponseInputStream.java,v
1.7 2001/09/01 21:40:45 remm Exp $
  - * $Revision: 1.7 $
  - * $Date: 2001/09/01 21:40:45 $
  + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/ResponseInputStream.java,v
1.7.2.1 2001/12/02 17:17:30 remm Exp $
  + * $Revision: 1.7.2.1 $
  + * $Date: 2001/12/02 17:17:30 $
    *
    * ====================================================================
    *
  @@ -74,7 +74,7 @@
    * Socket input stream wrapper.
    *
    * @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
  - * @version $Revision: 1.7 $ $Date: 2001/09/01 21:40:45 $
  + * @version $Revision: 1.7.2.1 $ $Date: 2001/12/02 17:17:30 $
    */
   
   public class ResponseInputStream
  @@ -100,7 +100,7 @@
           Header transferEncoding =
               (Header) responseHeaders.get("transfer-encoding");
           if ((transferEncoding != null)
  -            && (transferEncoding.getValue().indexOf("chunked") != -1))
  +            && (transferEncoding.getValue().toLowerCase().indexOf("chunked") !=
-1))
               chunk = true;
   
           // Retrieving content length header
  
  
  

--
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