[Python-bugs-list] [ python-Bugs-475166 ] Confusing code (typos?) in CGIHTTPServer (original) (raw)
noreply@sourceforge.net noreply@sourceforge.net
Thu, 25 Oct 2001 20🔞51 -0700
- Previous message: [Python-bugs-list] [ python-Bugs-474583 ] non-standard types in mimetypes.py
- Next message: [Python-bugs-list] [ python-Bugs-475166 ] Confusing code (typos?) in CGIHTTPServer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Bugs item #475166, was opened at 2001-10-25 20:18 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=475166&group_id=5470
Category: Python Library Group: Python 2.1.1 Status: Open Resolution: None Priority: 5 Submitted By: Noah Spurrier (noah) Assigned to: Nobody/Anonymous (nobody) Summary: Confusing code (typos?) in CGIHTTPServer
Initial Comment: I found the comment on line 224 of CGIHTTPServer.py to be confusing: # On Windows, use python.exe, not python.exe
Also, since do_POST() does not call send_head(), then why do you need to handle the following condition in send_head() line 63???: if self.is_cgi(): return self.run_cgi() Note that do_POST() already calls self.run_cgi() on line 57, so why would send_head() call it?
I'm sure I'm just being a dweeb and I'm missing something, but if not then I hope this clears up the code. I'm still confused why my custom do_POST() is not working...
Yours,
You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=475166&group_id=5470
- Previous message: [Python-bugs-list] [ python-Bugs-474583 ] non-standard types in mimetypes.py
- Next message: [Python-bugs-list] [ python-Bugs-475166 ] Confusing code (typos?) in CGIHTTPServer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]