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?
In any case having to manually make sure to print newlines in the right places and escape user input in headers correctly is insane.
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?