mardi 4 octobre 2016

naming a downloadable file in the Headers - Content-Dispositione

I currently have this:

Content-Dispositione : attachment;filename=myfile.txt

However when the file downloads it does not have an extension . Its only myfile Is there anyway for me to add an extension to the file downloaded ?




Aucun commentaire:

Enregistrer un commentaire