Hello,

I've uploaded a json file into the DAM with 'json' as file extension.
When requesting this file the following scenario happens:
- the ContentTypeFilter sets the response content type to 'application/json' 
based on the extension
- but later in the chain the content type gets overridden in the 
DamDownloadServlet to application/octet-stream based on the jcr:mimeType 

What I'd really want as response is the 'application/json' content type.
In Magnolia 4.5 you could easily disable the second step in the 
DmsDownloadServlet.
This is not the case anymore.

Any ideas how I should tackle this one?
Is this a bug in DamDownloadServlet? (i.e. should I open a bug report?)

cheers,
Greg

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=f5b1a19b-ab14-4198-b09a-e5ad8a34bb30


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to