since ‎23-04-2019
‎09-02-2021
thomasf35641124
Level 1
Re: Force application/json content-type
Avatar

thomasf35641124

thomasf35641124
- Adobe Experience Manager
Thank you so much for the reply! The file does not have an extension. The file does render correctly when I completely disable the filter. Do you happen to know how to configure the filter for one specific path? I have tried numerous different configurations with exclude and include and the only thing that seems to work is unchecking the box to completely disable.

Views

4.3K

Likes

0

Replies

0
Force application/json content-type
Avatar

thomasf35641124

thomasf35641124
- Adobe Experience Manager
Hello, We have an apple-app-site-association file located in /.well-known/apple-app-site-association which is being downloaded when requested thru a browser. We would like the file to be displayed as json output instead. Examining the headers shows the following: Content-Disposition: attachment; filename="apple-app-site-association"Content-Type: application/octet-stream I assume that the Content-Type needs to be application/json or something other than octed-stream to prevent the file from downl...

Views

4.4K

Likes

0

Replies

4