Yes, sounds good. I should give it a try.<br><br><div class="gmail_quote">On Tue, Mar 12, 2013 at 1:02 AM, Xavier L. <span dir="ltr"><<a href="mailto:newsgroups@afrosoft.ca" target="_blank">newsgroups@afrosoft.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 13-03-11 10:42 AM, Shiyao Ma wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Today I come across a problem.<br>
Basically, my need is that I want to launch a http server that can not<br>
only support get but also support post (including post file).<br>
My first idea is to use -m http.sever. However, it only supports get.<br>
Later I find some one extended basehttpserver and made it  support post.<br>
However it is not multithreaded.<br>
<br>
Is it easy to write a RELIABLE (I mean under normal cases) multithreaded<br>
server that suits my need.<br>
Also, are there any already invented wheel I can use?<br>
<br></div><div class="im">
Thx<br>
<br>
<br>
--<br>
My gpg pubring is available via: gpg --keyserver <a href="http://subkeys.pgp.net" target="_blank">subkeys.pgp.net</a><br></div>
<<a href="http://subkeys.pgp.net" target="_blank">http://subkeys.pgp.net</a>> --recv-keys 307CF736<br>
<br>
More on: <a href="http://about.me/introom" target="_blank">http://about.me/introom</a><br>
<br>
</blockquote>
The best would be to use an existing webserver, such as Apache, Nginx, Lighttpd, etc. with python running as a fcgi or cgi script.<br>
<br>
Those webservers have been tested for longer and there is no need to reinvent the wheel.<span class="HOEnZb"><font color="#888888"><br>
<br>
X<br>
-- <br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/<u></u>mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>My gpg pubring is available via: gpg --keyserver <a href="http://subkeys.pgp.net" target="_blank">subkeys.pgp.net</a> --recv-keys 307CF736<br><br>
More on: <a href="http://about.me/introom" target="_blank">http://about.me/introom</a><br><br>