Hi Massimo,

The file type is .mp3. Can I pass the contenttype to response.stream
() ?

On Jan 12, 6:46 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> What is the file format you are streaming?
> It lookslike the Content-type is not set or incorrect.
>
> Massimo
>
> On Jan 12, 12:10 pm, LB22 <latn.bl...@googlemail.com> wrote:
>
> > Hi,
>
> > Last night I did an upgrade of web2py from 1.65.x to 1.74.5. Now, this
> > piece of code:
>
> > return response.stream(open(path,'rb'),chuck_size=4096)
>
> > ...does not work. It was working fine before the upgrade. I've looked
> > at the changes between versions but I don't see what could have caused
> > this. Too see what is happening web2py tries to stream the file,
> > please click here:
>
> >http://www.latnblack.com/init/production/preview/53
>
> > Maybe someone here knows what is causing this? Thanks in advance for
> > any help.
>
> > LB
>
>
-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to