Invoke cgi from cgi script

Magnus L. Hetland mlh at idt.ntnu.no
Wed Oct 13 05:31:10 EDT 1999


Tino Wildenhain <tino at wildenhain.de> writes:

> "Magnus L. Hetland" wrote:
> > 
> > joshzeidner at my-deja.com writes:
> > 
> > >  Yeah but then he has to parse the HTML to get what he wants.  Not to
> > > mention that you are needlessly overloading the web server.
> > >
> > 
[...]
> double bah, cgi-scripts do not need to deliver HTML only. 

No - I didn't make that assumption. I just wrote how he could call the
script by URL; the sentence "but then he has to parse the HTML to get
what he wants" was not brought up by me.

> In fact they can return every datatype you want. plain-text,
> images, whatever data. since CGI is 8-bit clean, you 
> can even deliver pickled python-objects if you want.
> (make sure you call them in a sandbox, you never know...)

--

  Magnus          Echelon jamming noise:
  Lie             FBI CIA NSA Handgun Assault Bomb Drug Terrorism
  Hetland         Special Forces Delta Force AK47 Hillary Clinton 




More information about the Python-list mailing list