tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@locus.apache.org
Subject cvs commit: jakarta-tomcat/proposals/catalina/src/share/org/apache/tomcat/connector/http HttpProcessor.java
Date Tue, 01 Aug 2000 17:54:42 GMT
remm        00/08/01 10:54:41

  Modified:    proposals/catalina/src/share/org/apache/tomcat/connector/http
                        HttpProcessor.java
  Log:
  - Add a "Date" header in each HTTP response.
  
  Revision  Changes    Path
  1.18      +6 -4      jakarta-tomcat/proposals/catalina/src/share/org/apache/tomcat/connector/http/HttpProcessor.java
  
  Index: HttpProcessor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/proposals/catalina/src/share/org/apache/tomcat/connector/http/HttpProcessor.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- HttpProcessor.java	2000/07/31 00:38:57	1.17
  +++ HttpProcessor.java	2000/08/01 17:54:41	1.18
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/proposals/catalina/src/share/org/apache/tomcat/connector/http/HttpProcessor.java,v
1.17 2000/07/31 00:38:57 craigmcc Exp $
  - * $Revision: 1.17 $
  - * $Date: 2000/07/31 00:38:57 $
  + * $Header: /home/cvs/jakarta-tomcat/proposals/catalina/src/share/org/apache/tomcat/connector/http/HttpProcessor.java,v
1.18 2000/08/01 17:54:41 remm Exp $
  + * $Revision: 1.18 $
  + * $Date: 2000/08/01 17:54:41 $
    *
    * ====================================================================
    *
  @@ -105,7 +105,7 @@
    *
    * @author Craig R. McClanahan
    * @author Remy Maucherat
  - * @version $Revision: 1.17 $ $Date: 2000/07/31 00:38:57 $
  + * @version $Revision: 1.18 $ $Date: 2000/08/01 17:54:41 $
    */
   
   final class HttpProcessor
  @@ -786,6 +786,8 @@
   
               // Ask our Container to process this request
               try {
  +                ((HttpServletResponse) response).addDateHeader
  +                    ("Date", System.currentTimeMillis());
                   if (ok) {
                       connector.getContainer().invoke(request, response);
                   }
  
  
  

Mime
View raw message