2009/2/5 gert <[email protected]>:
>
>
>
> On Feb 4, 2:29 am, Graham Dumpleton <[email protected]>
> wrote:
>> 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?
>>
>
> Apache/2.2.11 (Unix) mod_wsgi/3.0-TRUNK Python/3.0
> At revision 1177.
>
> If I recall correctly it did work just before you did the last update
> 1161 or something.

Changes made since don't touch wsgi.file_wrapper code.

> What was the revision number of 2.3 again ?

Use tar ball, or separate svn branch.

  https://modwsgi.googlecode.com/svn/branches/mod_wsgi-2.X

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