CGI module problem: duplicated output

Mimal mi-mal at o2.pl
Mon Jan 12 03:19:27 EST 2004


> Pardon me for saying so, but I don't believe you.  Your script must
> actually look like this:

Pardon me too, but I know what my script looks like. I'm not such a 
fool! I've tested this script under Windows NT + Python 2.1 and Windows 
XP + Python 2.3 with the same result.

To prove you, I copied YOUR code and pasted to *.py file. Than I made it 
executable and run it using console (./cgi.py). This is what it showed:

<html>Hello, world!</html>
Content-type: text/html

<html>Hello, world!</html>
<html>Hello, world!</html>
Content-type: text/html

<html>Hello, world!</html>

I know it's very strange. I don't get it and that's why I need help. :-)

-- 
Mimal






More information about the Python-list mailing list