test2 fail

def application(environ, response):
    s = environ['wsgi.input'].read()
    f = open('/home/www/file2.png','bw')
    f.write(s)
    response('200 OK', [('Content-type', 'text/xml')])
    return []

http://91.121.53.159/file2.png <- fail

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to