• Post Reply Bookmark Topic Watch Topic
  • New Topic

MIME type for all types of file downloads  RSS feed

 
indu yeturu
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
What is the MIME type to be set in
response.setContentType("") so that it works for all types of files
(image,text,exe,java..)while downloading.
thanks
indu
[ September 11, 2008: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66154
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no one MIME type that works for all file types. Each has their own individual value.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!