You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jf...@apache.org on 2003/04/29 01:37:33 UTC

cvs commit: jakarta-servletapi-5/jsr154/src/share/javax/servlet/http HttpServlet.java

jfarcand    2003/04/28 16:37:33

  Modified:    jsr154/src/share/javax/servlet/http HttpServlet.java
  Log:
  Apply patch from Yutaka Yoshida.
  
  Revision  Changes    Path
  1.5       +4 -1      jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/HttpServlet.java
  
  Index: HttpServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr154/src/share/javax/servlet/http/HttpServlet.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- HttpServlet.java	22 Apr 2003 15:18:01 -0000	1.4
  +++ HttpServlet.java	28 Apr 2003 23:37:33 -0000	1.5
  @@ -183,7 +183,10 @@
        * to return its response to the client, improving performance.
        * The content length is automatically set if the entire response fits
        * inside the response buffer.
  -     * 
  +     *
  +     * <p>When using HTTP 1.1 chunked encoding (which means that the response
  +     * has a Transfer-Encoding header), do not set the Content-Length header.
  +     *
        * <p>The GET method should be safe, that is, without
        * any side effects for which users are held responsible.
        * For example, most form queries have no side effects.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org