simple cgi 'system'?
gabor at z10n.net
Wed Feb 25 23:25:31 CET 2004
i'm developing an application which many times downloads differents
stuff from http.
for this i'd need a quick way to create a cgi to for example return
always error 503. so that i can test my program if it handles this error
correctly or not.
because the program is in java, i usually create a small servlet, but i
thought that maybe python would be easier.
what is the easiest way to create a cgi?
i know about the cgi module, but most of times i need something a little
usually i only want to specify for example that the cgi should fail with
error 503, i don't want to print all the header stuff manually.
More information about the Python-list