News for hackers. Stuff that matters.
Re:What is a Web Framework? by js2 on Tuesday March 04, 2014 @08:51PM (#7344711)
You don't separate the headers from the body

Looks like it does to me. The content-type is printed with a \n and then Python implicitly adds a second newline. Or did you mean something else?

Re:What is a Web Framework? by DasIch on Tuesday March 04, 2014 @10:48PM (#7345153)
Hm, you're right. Response splitting and with that header injection should still be possible though, I think.

In any case having to manually make sure to print newlines in the right places and escape user input in headers correctly is insane.