1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-09-20 03:11:04 +00:00

Stream: force content-type, in case Flask couldn't guess it

This commit is contained in:
spl0k 2013-10-15 18:26:41 +02:00
parent b3aa61731a
commit 07e56e1d07

View File

@ -77,7 +77,7 @@ def stream_media():
response = Response(transcode(), mimetype = dst_mimetype)
else:
response = send_file(res.path)
response = send_file(res.path, mimetype = dst_mimetype)
# TODO handle estimateContentLength