fixup
This commit is contained in:
parent
7bbf178d9e
commit
89973d7fd1
|
@ -519,6 +519,7 @@ function giveconverted(file, bitrate, format)
|
||||||
suffix = format
|
suffix = format
|
||||||
mime = suffix in keys(Mux.mimetypes) ? Mux.mimetypes[suffix] : suffix
|
mime = suffix in keys(Mux.mimetypes) ? Mux.mimetypes[suffix] : suffix
|
||||||
headers["Content-Type"] = mime
|
headers["Content-Type"] = mime
|
||||||
|
wait(iodata)
|
||||||
# headers["Content-Length"] = string(length(data))
|
# headers["Content-Length"] = string(length(data))
|
||||||
return Dict(:body => read(iodata), :headers => headers)
|
return Dict(:body => read(iodata), :headers => headers)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue