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

Ian Bicking ianb at colorstudy.com
Tue Mar 13 22:15:46 CET 2007


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?

-- 
Ian Bicking | ianb at colorstudy.com | http://blog.ianbicking.org


More information about the Web-SIG mailing list