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=3823>. 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=3823 sendError and setStatus clear headers already set ------- Additional Comments From [EMAIL PROTECTED] 2001-09-25 14:24 ------- Fixing this bug is quite risky, but we can try it and see what happens. In any case, a lot of headers need to be reset (content-length, content-encoding, transfer-encoding, ranges, etc etc), so that's why we were resetting everything. Even after the problem is fixed, it would be cleaner to write a realm implementation, instead of putting the authentication layer in the servlet.