--- On Tue, 4/6/10, J.D. Main <jdm...@comcast.net> wrote:

> From: J.D. Main <jdm...@comcast.net>
> Subject: Re: [Web-SIG] IIS and Python CGI - how do I see more than just the 
> form data?
> To: web-sig@python.org
> Date: Tuesday, April 6, 2010, 9:25 PM
> Thanks Aaron,
> 
> I think I will explore the WSGI interface.  However, I
> did learn a trick using 
> the OS Module:
> 
> import cgi, os
> 
> formfields = cgi.FieldStorage()
> http_stuff = os.environ .....

Yes, that will work too.  In fact the CGI interface to WSGI
works like this.  The advantage to using WSGI is that it
makes it possible to move your application to other configurations
more easily (in theory) and it's just a tiny bit more high level.

Best regards,  -- Aaron Watters

_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to