Asynchronous cgi that returns nothing. Possible? O:-)

Jon Ribbens jon+usenet at unequivocal.co.uk
Wed Apr 24 05:12:09 EDT 2002


In article <3umccu09j6dkui67hnppulv8ngk71g55s4 at 4ax.com>, Fernando Rodríguez wrote:
>> If they really must be separate scripts, why doesn't script (a)
>> just output nothing at all to stdout?
> 
> I didn't try it, but I think the browser wouldn't like a cgi url that doesn't
> return any html content, no? O:-)

I thought they were running on the same machine, in which case the
entire sequence of [run script a + run script b] would produce the
correct CGI output.

You are going to have to do as someone else suggested, use the Python
standard library routines to issue another https request yourself from
the server to run script (b).



More information about the Python-list mailing list