https://bz.apache.org/bugzilla/show_bug.cgi?id=57661
--- Comment #6 from Michael Osipov <micha...@apache.org> --- (In reply to Mark Thomas from comment #5) > See https://github.com/eclipse-ee4j/servlet-api/issues/307 for a description > of what other containers do. > > Options appear to be: > a) container sends it after auth (current Tomcat behaviour) > b) container sends it when an InputStream / Reader is obtained > c) container sends it when an InputStream / Reader is first used > > I'm currently leaning towards adding an option to select between a) and b) > but as an Enum so additional options could be added later. Not only auth, on any status != 2xx. You may remember my redirect example on the mailing list. At no point a filter should need to obtain/peek/consume the input stream if a decision has to done based on headers only. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org