Google Groups Home
Help | Sign in
Recent pages and files
CgiForwarder    

cgif.py defines class cigForwarder, a sub-class of cgi.FieldStorage,
designed to facilitate the implementation of simple proxies
for massaging input data to a site (such as an input form)
and parsing the output prior to sending it to the caller.
It will pass any form data from the caller to the target url unchanged
unless you do something with it before calling the post() method.

 

Example HTML file

 

Example python script

 

The code

 

Working Example

 

Yes, I know this type of thing can be used for nefarious purposes, but it can also be very useful in legitimate ways. I imagine that there are better ways to accomplish this - if so, tell me, as I'm here to learn!

 

Version: 
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google