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


Groups > comp.lang.python > #41100

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

References <mailman.3186.1363012967.2939.python-list@python.org> <F6o%s.808817$W71.680461@fed07.iad>
Date 2013-03-12 08:16 +0800
Subject Re: How to quickly set up a multithreaded server that can handle http file post.
From Shiyao Ma <i@introo.me>
Newsgroups comp.lang.python
Message-ID <mailman.3211.1363047419.2939.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Yes, sounds good. I should give it a try.

On Tue, Mar 12, 2013 at 1:02 AM, Xavier L. <newsgroups@afrosoft.ca> wrote:

> 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
> --
> http://mail.python.org/**mailman/listinfo/python-list<http://mail.python.org/mailman/listinfo/python-list>
>



-- 
My gpg pubring is available via: gpg --keyserver
subkeys.pgp.net--recv-keys 307CF736

More on: http://about.me/introom

Back to comp.lang.python | Previous | NextPrevious 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