On Thu, Dec 10, 2009 at 3:10 AM, Jared Gisin <jared.gi...@isilon.com> wrote:
> It's unambiguously the correct default if you incorrectly assume that
> you're always dealing with a web browser client, which is an invalid
> assumption.

Web browser clients are the most common case, at least at this point
in time. On the flip side, if you don't assume a web browser client,
you can't assume anything; why would a client be more likely to be
able to handle text/plain than text/html? If it's trying to actually
parse the error response (SOAP comes to mind), neither of those
representations are likely to be of use to the client, so you need to
implement your own error handler anyway, to send back XML (or
whatever).
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to