[Tutor] Using CGIHTTPServer on Windows to run Perl & Python scripts - POST to Perl fails

Christopher Arndt chris.arndt at web.de
Sat Nov 12 14:39:19 CET 2005


Python schrieb:
> The Python scripts are OK.  The Perl scripts do not receive the POST
> parameters so they execute as though no parameters were supplied.  I've
> added logic to display the environment and that appears (to my Python
> oriented eye) to be correct.  In particular, the CONTENT_LENGTH and
> CONTENT_TYPE are correct.  GET requests work correctly.

Could you post some code examples, i.e. the HTML form which does the POST
request and the Perl code to handle it?

Have you checked, that the REQUEST_METHOD is really POST?

Chris



More information about the Tutor mailing list