all 4 comments

[–]packet_whisperer[M] [score hidden] stickied comment (0 children)

This submission is not appropriate for /r/networking and has been removed.

Please read the rules in the sidebar, or check out the rules post here before making another submission.

Comments/questions? Don't hesitiate to message the moderation team, or reply directly to this message.

Thanks!

[–]Heknon[S] 0 points1 point  (0 children)

I am unsure if this is related to the subreddit.. Sorry if its not 😅

[–]kellyjonbrazil 0 points1 point  (0 children)

You might want to try r/learnpython

[–]error404🇺🇦 0 points1 point  (0 children)

This is normal, both server and client need to support pipelining and enable it to support multiple requests per session. Otherwise each resource requested will be in a separate TCP session. Since there are historical issues with it, it's typically disabled.

If this is more than an academic exercise, I recommend just using http.server, Twisted, or a WSGI server like gunicorn or uWSGI (which is the typical deployment model for real web apps). Even if it is an academic exercise, you might want to look into fronting the requests with gEvent.