[Twisted-Python] HTML shoudl not be baked into twisted.web HTTPimplementation
Johann Borck
johann.borck at densedata.com
Wed Dec 9 20:40:39 MST 2009
Jared Gisin 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.
>
>
It's not always - it is almost always, a textbook example for the
applicability of a sensible default.
> The bottom line is that twisted.web contains the only implement of HTTP
> in twisted which unfortunately is muddled in HTML.
> [...]
>
> Get the HTML out of the HTTP protocol implementation. It flat out does
> not belong there.
>
>
Indeed a philosophical question, is it possible to get the nonexistent
out of a piece of code? Nonexistent understanding is a strong candidate,
as it would appear.
> Twisted should provide a clean, clear interface for working with HTTP.
>
Yes. So nice it does, isn't it?
Johann
More information about the Twisted-Python
mailing list