P
Piotr Dobrogost
Hi!
I'd like to bring your attention to the question titled "Use HTTP/1.1 with SimpleHTTPRequestHandler" at http://stackoverflow.com/q/15839718/95735 which reads; "When I use HTTP/1.1 with SimpleHTTPRequestHandler, loading a pagethat pulls in other resources will hang after the second resource." and there's a tiny test showing the problem.
It's hard to believe that SimpleHTTPServer doesn't handle such a simple task, does it?
If I checked correctly code is stuck in handle_one_request() method at line370 of server.py (http://hg.python.org/cpython/file/d9893d13c628/Lib/http/server.py#l370) but I can't see what's wrong.
Any ideas?
Best regards,
Piotr Dobrogost
I'd like to bring your attention to the question titled "Use HTTP/1.1 with SimpleHTTPRequestHandler" at http://stackoverflow.com/q/15839718/95735 which reads; "When I use HTTP/1.1 with SimpleHTTPRequestHandler, loading a pagethat pulls in other resources will hang after the second resource." and there's a tiny test showing the problem.
It's hard to believe that SimpleHTTPServer doesn't handle such a simple task, does it?
If I checked correctly code is stuck in handle_one_request() method at line370 of server.py (http://hg.python.org/cpython/file/d9893d13c628/Lib/http/server.py#l370) but I can't see what's wrong.
Any ideas?
Best regards,
Piotr Dobrogost