Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #43482
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2013-04-12 13:46 -0700 |
| Message-ID | <bf0b6bfd-9226-4bb4-9c77-3ec418a154a0@googlegroups.com> (permalink) |
| Subject | SimpleHTTPRequestHandler used with HTTP/1.1 hangs after the second resource on a page. |
| From | Piotr Dobrogost <p@google-groups-2013.dobrogost.net> |
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 page that 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 line 370 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
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
SimpleHTTPRequestHandler used with HTTP/1.1 hangs after the second resource on a page. Piotr Dobrogost <p@google-groups-2013.dobrogost.net> - 2013-04-12 13:46 -0700
Re: SimpleHTTPRequestHandler used with HTTP/1.1 hangs after the second resource on a page. Terry Jan Reedy <tjreedy@udel.edu> - 2013-04-12 18:21 -0400
Re: SimpleHTTPRequestHandler used with HTTP/1.1 hangs after the second resource on a page. Piotr Dobrogost <p@google-groups-2013.dobrogost.net> - 2013-04-13 10:21 -0700
Re: SimpleHTTPRequestHandler used with HTTP/1.1 hangs after the second resource on a page. Piotr Dobrogost <p@google-groups-2013.dobrogost.net> - 2013-04-13 10:21 -0700
csiph-web