[Web-SIG] Proposal: Avoiding Serialization When Stacking Middleware

Phillip J. Eby pje at telecommunity.com
Tue Mar 13 22:38:44 CET 2007


At 04:15 PM 3/13/2007 -0500, Ian Bicking wrote:
>Phillip J. Eby wrote:
>>At 03:14 PM 3/13/2007 -0500, Ian Bicking wrote:
>>>Phillip J. Eby wrote:
>>>>>I didn't understand what you were proposing, I think.  I still don't 
>>>>>really know what get_file_storage means.
>>>>It would return a cgi.file_storage encoding the request body.
>>>
>>>I still don't understand.  Are you talking about cgi.FieldStorage?
>>Oops.  Yeah.  That should be get_field_storage(), then.  D'oh.  Sorry 
>>about that.  Obviously it's been a while since I've used one of thos 
>>directly.  :)
>
>OK, we're getting closer, but I'm *still* not entirely sure what you are 
>proposing.  Are you talking about adding a function to wsgiref that either 
>parses the input with cgi.FieldStorage, or gets an existing parsed value?

I was talking about defining a standard WSGI extension whereby the 
wsgi.input object could have such a method.



More information about the Web-SIG mailing list