commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morg...@apache.org
Subject cvs commit: jakarta-commons/latka/src/java/org/apache/commons/latka/http ResponseImpl.java
Date Fri, 18 Jan 2002 20:20:51 GMT
morgand     02/01/18 12:20:50

  Modified:    latka/src/java/org/apache/commons/latka/http
                        ResponseImpl.java
  Log:
  getHeader() was returning request headers instead of response headers
  
  Revision  Changes    Path
  1.11      +1 -1      jakarta-commons/latka/src/java/org/apache/commons/latka/http/ResponseImpl.java
  
  Index: ResponseImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/http/ResponseImpl.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ResponseImpl.java	10 Oct 2001 20:57:43 -0000	1.10
  +++ ResponseImpl.java	18 Jan 2002 20:20:50 -0000	1.11
  @@ -111,7 +111,7 @@
   
     // defined in interface
     public String getHeader(String headerName) {
  -    Header header = _httpMethod.getRequestHeader(headerName);
  +    Header header = _httpMethod.getResponseHeader(headerName);
       if (header != null) {
         return header.getValue();
       }
  
  
  

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