List Info

Thread: cgi parameters not passed if method=GET?




cgi parameters not passed if method=GET?
country flaguser name
Germany
2007-12-01 11:54:34
Hi all,

I'm using a Python CGI with lighttpd. a form is submitted
to this CGI. I find that if I use method POST, this line of
Python code gets the form parameters correctly, but if I
use GET, the form variable does not contain any parameters:

form = cgi.FieldStorage(keep_blank_values = True)

The same script is tested working OK on two other web
servers.
Am I missing something?

-- 
Best regards,
Jack


Fwd: cgi parameters not passed if method=GET?
country flaguser name
Germany
2007-12-01 23:29:39
I'm answering my owner question: I set a rewrite rule but
didn't forward the parameters in the rule 

===8<==============Original message text===============
Hi all,

I'm using a Python CGI with lighttpd. a form is submitted
to this CGI. I find that if I use method POST, this line of
Python code gets the form parameters correctly, but if I
use GET, the form variable does not contain any parameters:

form = cgi.FieldStorage(keep_blank_values = True)

The same script is tested working OK on two other web
servers.
Am I missing something?

-- 
Best regards,
Jack



[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )