No the application does this
mem = StringIO()
input = self.environ['wsgi.input']
content_length = int(self.environ["CONTENT_LENGTH"])
chunksize = 65536
while true:
remain = content_length - mem.tell()
if remain <= 0: break
chunk = input.read(min(chunksize, remain))
if not chunk: break
mem.write(chunk)
data = mem.getvalue()
mem.close()
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---