2009/2/2 gert <[email protected]>:
>
> f=open(path.join(path.dirname(__file__),'../bin/picture.png'),'rb')
> if 'wsgi.file_wrapper' in environ: return environ['wsgi.file_wrapper']
> (f, 8192)
> else: return iter(lambda: f.read(8192), '')
>
> For some reason it doesn't work anymore ?

Which version of Python 2.5 or 3.0?

Does it fail on both or only one?

Does it still work for same program under mod_wsgi 2.3 rather than
mod_wsgi 3.0 trunk you are probably using?

Graham

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