BaseHTTPServer/SimpleHTTPServer HTTP/1.1 support?

J

Joshua W. Biagio

Hello all,

I am having difficulty getting the HTTP/1.1 support (i.e. pipelining and persistent connections) for the BaseHTTPServer library to work. When I change the line for the protocol in BaseHTTPServer from "HTTP/1.0" to "HTTP/1.1", the SimpleHTTPServer program can still serve directory listings and even graphics files, but it hangs when I try to browse to an HTML file. I have a directory of web pages that I use to test servers (such as Medusa and Quixote, etc.), and the python library functions Base/SimpleHTTPServer work fine in HTTP/1.0 mode but not in HTTP/1.1 mode. I am using Python 2.3 under Windows XP. Has anyone seen behavior or does anyone have a fix?

Thank you for any information in this matter-

jwb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top