AHKhttp
AHKhttp copied to clipboard
Error in headers at serveFile
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.