You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/09/27 00:30:55 UTC

DO NOT REPLY [Bug 3844] New: - Headers added to HttpServletResponse not ignored by container after call to sendError() or sendRedirect()

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3844>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3844

Headers added to HttpServletResponse not ignored by container after call to sendError() or sendRedirect()

           Summary: Headers added to HttpServletResponse not ignored by
                    container after call to sendError() or sendRedirect()
           Product: Tomcat 4
           Version: 4.0 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Ryan.Lubke@Sun.COM
                CC: Ryan.Lubke@Sun.COM


Tomcat currently will forward any headers added after a call to sendError() or
sendRedirect() even though a call to either of these two methods will commit the
response.

Servlet Specification 3.2 section SRV.5.2 states that headers set after
the response has been committed should be ignored.