[Twisted-Python] HTML shoudl not be baked into twisted.web HTTP implementation
James Y Knight
foom at fuhm.net
Wed Dec 9 14:37:34 MST 2009
On Dec 9, 2009, at 4:18 PM, Valeriy Zamarayev wrote:
> I want to second Jared's point. In my case, the responses from web servers, including the body, often end up in log files. HTML looks pretty ugly there. Though this is a minor point for me in the otherwise great Twisted software!
Essentially every web server on the internet responds with HTML to error conditions, so you should probably modify your client.
As I said, I'm all for customizability, but returning HTML bodies for error pages is unambiguously the correct default.
James
More information about the Twisted-Python
mailing list