Forum Moderators: phranque
Here are the last lines where a created PDF Document will be sent to the client. Is there something wrong with ContentType setting?
contentType = 'application/pdf'
response.setContentType(contentType)
response.addHeader('Content-Disposition', 'attachment; filename=%s' %shortname + extension)
raise spyceDone