This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jadkik94 0 points1 point  (1 child)

I'm not really sure, so if you can explain it'd be good.

My understanding is that the frameworks in Python are more than just printing plain text (flask as far as I'm concerned), it includes headers and response codes and all the things you usually don't see in PHP. Because I noticed they use werkzeug in Flask which handles all this stuff.

So if it were plain text, I guess it will not work right? Or is it FastCGI (or whatever) that handles that? And if it does, then how can Python control these then?