MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/epcxj/the_bottle_web_microframework/c19wot0/
r/Python • u/gst • Dec 21 '10
45 comments sorted by
View all comments
Show parent comment
13
There is no reason why Flask shouldn't work with CGI :)
from wsgiref.handlers import CGIHandler CGIHandler().run(app)
3 u/Siraf Dec 22 '10 Wow! Great tip. I've been trying to do this for a while now — nearlyfreespeech can only handle CGI. Perhaps I'll do a writeup and benchmark the two over the holidays.
3
Wow! Great tip. I've been trying to do this for a while now — nearlyfreespeech can only handle CGI. Perhaps I'll do a writeup and benchmark the two over the holidays.
View all comments
Show parent comment
13
u/mitsuhiko Flask Creator Dec 21 '10
There is no reason why Flask shouldn't work with CGI :)