This commit is contained in:
parent
79160856f8
commit
80e022fefb
|
@ -520,7 +520,7 @@ function giveconverted(file, bitrate, format)
|
|||
mime = suffix in keys(Mux.mimetypes) ? Mux.mimetypes[suffix] : suffix
|
||||
headers["Content-Type"] = mime
|
||||
# headers["Content-Length"] = string(length(data))
|
||||
return Dict(:body => read(iodata), :headers => headers)
|
||||
return Dict(:body => take!(iodata), :headers => headers)
|
||||
end
|
||||
|
||||
function convert(infile; bitrate = 64, format = "oga")
|
||||
|
|
Loading…
Reference in New Issue