The Content-Type value is used in the response as the attachment type unless overwritten by the script.