was not working
This commit is contained in:
parent
019d06b084
commit
7bbf178d9e
|
@ -520,7 +520,7 @@ function giveconverted(file, bitrate, 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
|
||||||
# headers["Content-Length"] = string(length(data))
|
# headers["Content-Length"] = string(length(data))
|
||||||
return Dict(:body => take!(iodata), :headers => headers)
|
return Dict(:body => read(iodata), :headers => headers)
|
||||||
end
|
end
|
||||||
|
|
||||||
function convert(infile; bitrate = 64, format = "oga")
|
function convert(infile; bitrate = 64, format = "oga")
|
||||||
|
|
Loading…
Reference in New Issue