Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41077

Re: How to quickly set up a multithreaded server that can handle http file post.

From "Xavier L." <newsgroups@afrosoft.ca>
Newsgroups comp.lang.python
Subject Re: How to quickly set up a multithreaded server that can handle http file post.
References <mailman.3186.1363012967.2939.python-list@python.org>
Message-ID <F6o%s.808817$W71.680461@fed07.iad> (permalink)
Organization UseNetServer - www.usenetserver.com
Date 2013-03-11 13:02 -0400

Show all headers | View raw


On 13-03-11 10:42 AM, Shiyao Ma wrote:
> Today I come across a problem.
> Basically, my need is that I want to launch a http server that can not
> only support get but also support post (including post file).
> My first idea is to use -m http.sever. However, it only supports get.
> Later I find some one extended basehttpserver and made it  support post.
> However it is not multithreaded.
>
> Is it easy to write a RELIABLE (I mean under normal cases) multithreaded
> server that suits my need.
> Also, are there any already invented wheel I can use?
>
> Thx
>
>
> --
> My gpg pubring is available via: gpg --keyserver subkeys.pgp.net
> <http://subkeys.pgp.net> --recv-keys 307CF736
>
> More on: http://about.me/introom
>
The best would be to use an existing webserver, such as Apache, Nginx, 
Lighttpd, etc. with python running as a fcgi or cgi script.

Those webservers have been tested for longer and there is no need to 
reinvent the wheel.

X

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to quickly set up a multithreaded server that can handle http file post. Shiyao Ma <i@introo.me> - 2013-03-11 22:42 +0800
  Re: How to quickly set up a multithreaded server that can handle http file post. "Xavier L." <newsgroups@afrosoft.ca> - 2013-03-11 13:02 -0400
    Re: How to quickly set up a multithreaded server that can handle http file post. Shiyao Ma <i@introo.me> - 2013-03-12 08:16 +0800

csiph-web