Ticket #950 (closed Defect: fixed)
JSON files served via DM file repo
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Minor | Milestone: | Release 4.8 |
Component: | DeepaMehta Standard Distribution | Version: | 4.7 |
Keywords: | Cc: | dgf, Malte, JuergeN | |
Complexity: | 2 | Area: | |
Module: | deepamehta-core |
Description
The response of a file repo HTTP request contains no Content-Type header if the requested file's extension is .json. As a consequence Firefox displays not well-formed in the browser console. This is not a true problem but should be fixed. (In Chrome and Safari the problem does not appear).
Change History
comment:4 Changed 9 years ago by Malte
This is great :) i just tested it with a ".webm" file on firefox!
Thanks!
comment:5 Changed 9 years ago by jri
- Status changed from closed to reopened
- Resolution fixed deleted
The same should be applied to the bundle resources served via /<bundle-symbolic-name>/...
At the moment a JSON bundle resource is served without Content-Type header.
Note: See
TracTickets for help on using
tickets.