Mike, you ok with this as described? I know you have had some other ideas here about renaming textHtmlHandler and expanding it to handle other status codes:
(http://dwr.2114559.n2.nabble.com/DWR-RC2-with-reverse-ajax-textHtmlHandler-warningHandler-behavior-and-server-down-tt6650184.html#a6721465)
"Yes, I've previosuly been thinking that our textHtmlHandler is a bit "asymmetric", in that we provide a handler for one very specific response type but none for others, such as redirects. I would either like to see us widen the scope of the textHtmlHandler (possibly renaming it) or provide another handler for other unexpected responses that are not errors. The reasoning in DWR-421 sounds good but maybe we should look through other potential response types before deciding on handler names."
It seems to me redirect status codes and text/html responses will always be handled in the same manner. So deprecating the existing handler and creating a new one that will handle both situations seems to make sense. The trick is coming up with a reasonable name for it.
Stevo,
It will probably take us awhile to get to this. If you would like to take a stab at fixing it and submit a patch that would be great. It should be pretty straightforward to do it (just look at the other handlers in engine.js).