Re: [Web-SIG] transaction progress with cgi.FieldStorage

2005-12-29 Thread Clark C. Evans
On Thu, Dec 22, 2005 at 12:24:59PM -0500, kai wrote: | this is my first post on this list. I am working on a way to monitor the | progress of reading a file upload from wsgi.input. I can currently | monitor the overall transfer and when individual files of a multiple | file upload are completed

Re: [Web-SIG] WSGI and Content-Type

2005-12-29 Thread Ian Bicking
Clark C. Evans wrote: > I'm puzzled why CONTENT_TYPE/CONTENT_LENGTH is listed as an ``environ`` > CGI variable when it seems the corresponding corresponding > HTTP_CONTENT_TYPE/HTTP_CONTENT_LENGTH would work. Is there a reason for > this redundancy? Which one should I use? If they differ, which

Re: [Web-SIG] transaction progress with cgi.FieldStorage

2005-12-29 Thread Ian Bicking
kai wrote: > Hi All, > this is my first post on this list. I am working on a way to monitor the > progress of reading a file upload from wsgi.input. I can currently > monitor the overall transfer and when individual files of a multiple > file upload are completed. The ultimate goal of this is t

Re: [Web-SIG] WSGI and Content-Type

2005-12-29 Thread Ian Bicking
Clark C. Evans wrote: > I'm puzzled why CONTENT_TYPE/CONTENT_LENGTH is listed as an ``environ`` > CGI variable when it seems the corresponding corresponding > HTTP_CONTENT_TYPE/HTTP_CONTENT_LENGTH would work. Is there a reason for > this redundancy? Which one should I use? If they differ, which

[Web-SIG] WSGI and Content-Type

2005-12-29 Thread Clark C. Evans
I'm puzzled why CONTENT_TYPE/CONTENT_LENGTH is listed as an ``environ`` CGI variable when it seems the corresponding corresponding HTTP_CONTENT_TYPE/HTTP_CONTENT_LENGTH would work. Is there a reason for this redundancy? Which one should I use? If they differ, which one is correct? Kind Regards