I doubt that it *renders* the mp3 file. Perhaps you mean that it starts playing or something. There's a solution to that, set the Content-Type to something like "application/octet-stream"
This is pretty neat. I have a similar issue with trying to use a Python script to return a .mp3 from a Zope file object. Whenever the script is called it *renders* the .mp3 instead of passing the data.
Do I need to do something similar to your script to make this work properly?
Comment
I doubt that it *renders* the mp3 file. Perhaps you mean that it starts playing or something. There's a solution to that, set the Content-Type to something like "application/octet-stream"
Parent comment
This is pretty neat. I have a similar issue with trying to use a Python script to return a .mp3 from a Zope file object. Whenever the script is called it *renders* the .mp3 instead of passing the data. Do I need to do something similar to your script to make this work properly?