Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #41064 > unrolled thread
| Started by | Shiyao Ma <i@introo.me> |
|---|---|
| First post | 2013-03-11 22:42 +0800 |
| Last post | 2013-03-12 08:16 +0800 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.python
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
| From | Shiyao Ma <i@introo.me> |
|---|---|
| Date | 2013-03-11 22:42 +0800 |
| Subject | How to quickly set up a multithreaded server that can handle http file post. |
| Message-ID | <mailman.3186.1363012967.2939.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
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--recv-keys 307CF736 More on: http://about.me/introom
[toc] | [next] | [standalone]
| From | "Xavier L." <newsgroups@afrosoft.ca> |
|---|---|
| Date | 2013-03-11 13:02 -0400 |
| Message-ID | <F6o%s.808817$W71.680461@fed07.iad> |
| In reply to | #41064 |
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
[toc] | [prev] | [next] | [standalone]
| From | Shiyao Ma <i@introo.me> |
|---|---|
| Date | 2013-03-12 08:16 +0800 |
| Message-ID | <mailman.3211.1363047419.2939.python-list@python.org> |
| In reply to | #41077 |
[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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web