Downloading a word document or pdf file or any other file in mac?

When a word document or pdf file or any other file is downloaded in mac through our own developed web application it is saving with extension .html. And if I download from regular websites like gmail or yahoo or any official mail or site then it is saving correctly. What could be the problem and suggest any... show more When a word document or pdf file or any other file is downloaded in mac through our own developed web application it is saving with extension .html. And if I download from regular websites like gmail or yahoo or any official mail or site then it is saving correctly. What could be the problem and suggest any solution for not to be saved with .html extension.
2 answers 2