Issue with custom MIMEType | Community
Skip to main content
Level 2
December 14, 2023
Solved

Issue with custom MIMEType

  • December 14, 2023
  • 2 replies
  • 769 views

Hi Team,

We have configured the custom VSSX (application/vssx vssx) mime type in MimeTypeServiceImpl.xml to support this file type. It is working fine on the author and publish server however it is not working as expected on the dispatcher. Whenever we try to download this type of file from the dispatcher it opens in the same window and render as a corrupted file. When I check on the publish server under the network tab, it shows the correct  content-type which is missing in the dispatcher:

Do we have to configure any custom header to support this mime type on the dispatcher? We have enabled these specific mime types in non-public content directories however it's not working as expected. Kindly let me know what could be done to work it as expected.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sudheer_Sundalam

@ak86 ,

Compare the response header for this request on the publish URL where it is working as expected vs on the dispatcher URL where the file is showing as corrupted. Add these missing response headers if any in the dispatcher clienheader.any file, restart dispatcher, clear cache and give it a try.

2 replies

Sudheer_Sundalam
Community Advisor
Sudheer_SundalamCommunity AdvisorAccepted solution
Community Advisor
December 14, 2023

@ak86 ,

Compare the response header for this request on the publish URL where it is working as expected vs on the dispatcher URL where the file is showing as corrupted. Add these missing response headers if any in the dispatcher clienheader.any file, restart dispatcher, clear cache and give it a try.

BrianKasingli
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
December 14, 2023

in your dispatcher farm file, try adding

/0052 { /type "allow" /url "*.vssx"  }