From 89973d7fd1bc521f4ba96d9453717a811ced4532 Mon Sep 17 00:00:00 2001 From: nixo Date: Tue, 21 May 2019 19:10:19 +0200 Subject: [PATCH] fixup --- JlSonic/api.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/JlSonic/api.jl b/JlSonic/api.jl index 6de1ad0..2b9aa16 100644 --- a/JlSonic/api.jl +++ b/JlSonic/api.jl @@ -519,6 +519,7 @@ function giveconverted(file, bitrate, format) suffix = format mime = suffix in keys(Mux.mimetypes) ? Mux.mimetypes[suffix] : suffix headers["Content-Type"] = mime + wait(iodata) # headers["Content-Length"] = string(length(data)) return Dict(:body => read(iodata), :headers => headers) end