TSS feedback: Streaming contents
I need to stream contents (msword and excel). Should I use the content-type: application/msword and application/excel?
When I accept files for upload, how do I advise the browser only to accept ms-word and excel documents? thanks.
Excel is application/vnd.ms-excel . The official registry of mime types is here: http://www.isi.edu/in-notes/iana/assignments/media-types/media-types
The feature you're looking for to constrain upload types is the 'accept' attribute of the 'form' element, as explained in the standard here: