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


Groups > comp.lang.python > #19528 > unrolled thread

Patching CGIHTTPServer.py

Started byGiovanni Funchal <gafunchal@gmail.com>
First post2012-01-27 22:48 +0000
Last post2012-01-28 08:04 -0800
Articles 4 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  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

#19528 — Patching CGIHTTPServer.py

FromGiovanni Funchal <gafunchal@gmail.com>
Date2012-01-27 22:48 +0000
SubjectPatching CGIHTTPServer.py
Message-ID<mailman.5160.1327704566.27778.python-list@python.org>

[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

[toc] | [next] | [standalone]


#19548

FromMiki Tebeka <miki.tebeka@gmail.com>
Date2012-01-28 08:04 -0800
Message-ID<30772597.282.1327766678735.JavaMail.geo-discussion-forums@yqjk7>
In reply to#19528
IMO the code is good enough to submit a patch.

[toc] | [prev] | [next] | [standalone]


#19741

FromGiovanni Funchal <gafunchal@gmail.com>
Date2012-02-01 21:24 +0000
Message-ID<mailman.5324.1328131517.27778.python-list@python.org>
In reply to#19548
Wow, that's very flattering :-)

I've opened an item in the python bug tracker for this enhancement and
attached my patch, let's see how it goes.

Thanks,
-- Giovanni



On Sat, Jan 28, 2012 at 4:04 PM, Miki Tebeka <miki.tebeka@gmail.com> wrote:
> IMO the code is good enough to submit a patch.
> --
> http://mail.python.org/mailman/listinfo/python-list

[toc] | [prev] | [next] | [standalone]


#19549

FromMiki Tebeka <miki.tebeka@gmail.com>
Date2012-01-28 08:04 -0800
Message-ID<mailman.5176.1327766687.27778.python-list@python.org>
In reply to#19528
IMO the code is good enough to submit a patch.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web