Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #19528
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!amsnews11.chello.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <gafunchal@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'bug': 0.02; 'else:': 0.03; 'happily': 0.07; 'supported.': 0.07; 'python': 0.08; '[],': 0.09; 'args,': 0.09; 'flush': 0.09; 'throw': 0.09; 'output': 0.10; '+++': 0.13; "'ok')": 0.16; '+import': 0.16; 'except:': 0.16; 'forking': 0.16; 'giovanni': 0.16; 'handy': 0.16; 'pid,': 0.16; 'stderr': 0.16; 'stderr:': 0.16; 'contribute': 0.18; 'instance': 0.18; 'programming': 0.20; 'cheers,': 0.20; 'maybe': 0.21; "doesn't": 0.22; '+0000': 0.24; 'cc:2**0': 0.25; 'module': 0.26; 'import': 0.27; 'fact': 0.27; "i'm": 0.27; 'cc:addr:gmail.com': 0.28; 'noticed': 0.28; 'message-id:@mail.gmail.com': 0.28; 'pass': 0.28; "skip:' 10": 0.29; 'class': 0.29; 'server': 0.30; 'but...': 0.30; 'parent': 0.30; 'translate': 0.30; '---': 0.31; '+0100': 0.32; 'everyone,': 0.32; 'break': 0.32; "isn't": 0.32; 'to:addr :python-list': 0.33; 'rest': 0.33; 'nobody': 0.34; 'someone': 0.34; 'setting': 0.34; 'try:': 0.34; 'http': 0.36; 'charset:us- ascii': 0.36; 'received:google.com': 0.37; 'page': 0.37; 'could': 0.37; 'patch': 0.38; 'received:209.85': 0.38; 'think': 0.38; 'skip:o 20': 0.38; "i'd": 0.39; 'except': 0.39; 'header': 0.39; 'help': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.40; 'skip:s 40': 0.40; 'data': 0.40; 'matter': 0.61; 'spend': 0.61; 'your': 0.61; 'full': 0.62; 'subject:skip:C 10': 0.64; 'quality': 0.74; 'enhancement.': 0.84; 'data)': 0.91; 'proposal.': 0.91; 'redirect': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=lWzAVaBW3v7QJCVqEM0uKaRfR7yyPKOF3G6aIrSJO2k=; b=h+yCsZp+YBebKGhjS2PQ3eeEWPlZ2fn7J8JbBY3aGjXXj/LIOamjkgxu/QpN/5N0qN MpNg+4zhzqMybus0GsrQWiuxdeVpfkTUOvYDCiyXdFH0gxzoo3x2IGs3MCOBOQ9Zedlo yOpjji4YCsvI55+Cx8AZKjP5gbHbSG47OEwjU= |
| MIME-Version | 1.0 |
| From | Giovanni Funchal <gafunchal@gmail.com> |
| Date | Fri, 27 Jan 2012 22:48:53 +0000 |
| Subject | Patching CGIHTTPServer.py |
| To | python-list@python.org |
| Content-Type | multipart/mixed; boundary=20cf300fb08ddafb5304b78a4e8c |
| Cc | Laurie Lugrin <marmottine@gmail.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| 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.5160.1327704566.27778.python-list@python.org> (permalink) |
| Lines | 78 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1327704566 news.xs4all.nl 6937 [2001:888:2000:d::a6]:37654 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:19528 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi everyone, I was fiddling around with CGIHTTPServer.py --- a very handy module for quickly setting up a full HTTP server with CGI support --- when I noticed that it doesn't support responses other than "200 OK". So, for instance if your page wants to do a redirect (response 303), it just isn't supported. I think this is a major drawback that can be easily overcome and I'd very happily contribute that as an enhancement. But... I'm new to Python and as a matter of fact web programming as a whole isn't really my specialty. I was thinking that maybe someone could spend half an hour looking at my solution and help raising it's quality to the level I can submit it as a patch proposal. Cheers, -- Giovanni
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Patching CGIHTTPServer.py Giovanni Funchal <gafunchal@gmail.com> - 2012-01-27 22:48 +0000
Re: Patching CGIHTTPServer.py Miki Tebeka <miki.tebeka@gmail.com> - 2012-01-28 08:04 -0800
Re: Patching CGIHTTPServer.py Giovanni Funchal <gafunchal@gmail.com> - 2012-02-01 21:24 +0000
Re: Patching CGIHTTPServer.py Miki Tebeka <miki.tebeka@gmail.com> - 2012-01-28 08:04 -0800
csiph-web