luancontrolz

Results 1 issues of luancontrolz

ServeFile(ByRef response, file) { f := FileOpen(file, "r") length := f.RawRead(data, f.Length) f.Close() response.SetBody(data, length) **res.headers["Content-Type"] := this.GetMimeType(file)** } The bold line i think res sould be response.