test1 ok
def application(environ, response):
s = str(environ['wsgi.input'].read(int(environ.get
('CONTENT_LENGTH','0'))))
f = open('/home/www/file.txt','w')
f.write(s)
response('200 OK', [('Content-type', 'text/xml')])
return ['']
http://91.121.53.159/file.png <- upload
http://91.121.53.159/file.txt <- s
so far so good :-)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---