livepeer / go-tools

Utility packages used across Livepeer Go repositories.
0 stars 2 forks source link

VID-13 Hardcode mime type for .m3u8 files #28

Closed thomshutt closed 1 year ago

thomshutt commented 1 year ago

This was returning audio/x-mpegurl for .m3u8 files on some operating systems.

linear[bot] commented 1 year ago
VID-13 Wrong mime-type in response

Lens is getting the wrong mime-type in the response. Expecting `application/vnd.apple.mpegurl` but getting `audio/x-mpegurl` . ``` curl --head https://lp-playback.com/hls/fa82mfs8wj4fo6ew/index.m3u8 ``` [Screenshot 2023-02-24 at 8.57.30 AM.png](https://uploads.linear.app/2cd0576f-b620-4d24-b358-8541490ad69f/2b61e711-e6b3-4c28-b9b7-c3ddb03cb524/d01a50a7-ab60-4948-901b-0da92bd31e04)