[Zope] content getting a new line appended.

Anthony Baxter anthony@interlink.com.au
Thu, 27 Jan 2000 12:59:43 +1100


We've got an application that sends down an audio file to the user. 

It does this from an external method, that essentially does something 
like:

RESPONSE['content-type'] = "audio/x-wav"
out = fp.read() # fp is filehandle of data.
return out

Somewhere between Zope 1.10 and Zope 2.1, something changed such that
the content is getting a newline appended to it. This is breaking
certain audio players (for unknown reasons - I'd have thought that
they'd ignore it... but anyway).

Is anyone aware of anything like this that might have changed? 
Pointers on where to look?

ta,

Anthony