Ticket #188 (closed defect: fixed)
content type is set wrong
| Reported by: | Michiel.Schok | Owned by: | Michiel.Schok |
|---|---|---|---|
| Priority: | trivial | Milestone: | MediaMosa 2.1 |
| Component: | Core | Version: | 2.1.1 |
| Keywords: | Cc: | ||
| MoSCoW: | Should Have | Estimated time after impact analysis: | |
| Related to project: | none | Tested: | yes |
| Accepted: | yes | Estimated Hours: |
Description (last modified by Michiel.Schok) (diff)
In the case when an EGA issues a playrequest on a Windows Media file, and gives timing parameters, an object is returned specifying an .asx as the source. That is all correct.
The <content_type> of that object is set as "video/x-ms-asx" where it should be "text/html"
The <content_type> is correctly set on a similar playrequest without timing parameters.
Example:
[GET] asset/SchwHslM4RCxJ3AVv3ZbTTtF/play?mediafile_id=PWQhm8utwKNjA4AUZhvEMADc&response=object&user_id=foo&start=10000&end=20000
<items>
<item id="1">
<output>... snip ...</output>
<content_type>video/x-ms-asx</content_type>
</item>
</items>
while the call without timing parameters has the correct content_type
[GET] asset/SchwHslM4RCxJ3AVv3ZbTTtF/play?mediafile_id=PWQhm8utwKNjA4AUZhvEMADc&response=object&user_id=foo
<items>
<item id="1">
<output>... snip ...</output>
<content_type>text/html</content_type>
</item>
</items>
As it does not lead to any problems on the SURFmedia EGA, priority is set to trivial.
Change History
Note: See
TracTickets for help on using
tickets.
