luehe       2004/07/28 11:51:11

  Modified:    catalina/src/share/org/apache/catalina/connector
                        Response.java
  Log:
  Reverted previous patch, because it would reintroduce the problem of sending
  "image/gif; charset=iso-8859-1", which nobody can read.
  
  Revision  Changes    Path
  1.5       +1 -17     
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Response.java
  
  Index: Response.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Response.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Response.java     28 Jul 2004 00:43:07 -0000      1.4
  +++ Response.java     28 Jul 2004 18:51:10 -0000      1.5
  @@ -497,22 +497,6 @@
   
   
       /**
  -     * Returns the value of the Content-Type response header, based on the
  -     * current return value of getContentType().
  -     *
  -     * Notice that while the charset parameter must be omitted from the
  -     * return value of ServletResponse.getContentType() if no character
  -     * encoding has been specified, the spec requires that a charset (default:
  -     * ISO-8859-1) always be included in the Content-Type response header
  -     *
  -     * @return Value of Content-Type response header
  -     */
  -    public String getContentTypeResponseHeader() {
  -        return (coyoteResponse.getContentTypeResponseHeader());
  -    }
  -
  -
  -    /**
        * Return a PrintWriter that can be used to render error messages,
        * regardless of whether a stream or writer has already been acquired.
        *
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to