https://issues.apache.org/bugzilla/show_bug.cgi?id=45714

           Summary: response.sendError does not send back message properly
           Product: Tomcat 6
           Version: 6.0.18
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In Tomcat 6.0.16 if you do the following:

response.sendError(500, "This is my error message")

The statusText read by the browser will be "This is my error message" and the
status will be 500.

Something has changed in Tomcat 6.0.18 where the statusText will be the literal
string translation of the error code (the status will still be 500).  I.E. the
statusText will read "Internal Server Error" instead of "This is my error
message".

This occurs for all error code types and is browser independent.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to