Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #41064
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <i@introo.me> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.037 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'subject:file': 0.07; 'subject:How': 0.09; 'get.': 0.09; 'subject:set': 0.09; 'subject:skip:m 10': 0.09; 'thx': 0.09; 'cases)': 0.16; 'file).': 0.16; 'gpg': 0.16; 'subject: \n ': 0.16; 'later': 0.16; 'http': 0.22; 'idea': 0.24; 'message-id:@mail.gmail.com': 0.27; 'post': 0.28; 'use?': 0.29; '8bit%:5': 0.29; '(including': 0.30; 'problem.': 0.32; 'launch': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'server': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'subject:http': 0.37; 'received:209': 0.37; 'mean': 0.38; 'supports': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'easy': 0.60; 'first': 0.61; 'more': 0.63; 'today': 0.67; 'url:me': 0.69; 'basically,': 0.84; 'subject:handle': 0.84; 'suits': 0.84; 'wheel': 0.84 |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:date:message-id:subject :from:to:content-type:x-gm-message-state; bh=Y4oVKP8V6p5Jh+UnOl3WyoyWkfd3nGmaB/5Ucr32ZSk=; b=h6MRywQBbMNfDVNzIxijLwlyuw863phIR30cASggIPCRKsUyJv7PF0/abFReKMjzTW u2xA/Ln2X47QDMHD71jiOyne2GOsvNbnN49NmwvQjm2GVMIQC8aG3iHgS8tlaZGPklVT /8heViln6K6TSJH3Okp77pAj7W7hC3lQeCDl68d0bP6jFsuuyN4Sij+z/5aJ8jQxyCLk 5uh5oZBXpqIhQDbNfpvHD+OIUsAaKyJSIupCsqE8ldtSVtn2bBBNzCy/t87pOsURILvk gCjbw7Si6mHjz+YFCJ5mTn8bqbtoNVn4zoAMuRNfGtA1/81cxUk22E0GF9DUIUymkaOa 9gew== |
| MIME-Version | 1.0 |
| X-Received | by 10.60.31.225 with SMTP id d1mr8634207oei.120.1363012958272; Mon, 11 Mar 2013 07:42:38 -0700 (PDT) |
| X-Originating-IP | [59.66.130.213] |
| Date | Mon, 11 Mar 2013 22:42:38 +0800 |
| Subject | How to quickly set up a multithreaded server that can handle http file post. |
| From | Shiyao Ma <i@introo.me> |
| To | python-list@python.org |
| Content-Type | multipart/alternative; boundary=e89a8fb1fbe233e0e904d7a72fdc |
| X-Gm-Message-State | ALoCoQm1B5hJLISKFCiBSZ+bznhWAhk80PjfPiJQKSsYFHnIPP5pTrozcfUtX5A82c3uMz0cVXjf |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3186.1363012967.2939.python-list@python.org> (permalink) |
| Lines | 44 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1363012967 news.xs4all.nl 6847 [2001:888:2000:d::a6]:58445 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:41064 |
Show key headers only | View raw
[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
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll 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