AHKhttp icon indicating copy to clipboard operation
AHKhttp copied to clipboard

HTTP Server

Results 7 AHKhttp issues
Sort by recently updated
recently updated
newest added

Hi, There's a memory leak somewhere, even when using the example scripts. After receiving some amount of requests (1000? 2000?) it will crash. I am not sure if the problem...

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.

For example, I want to upload a file to the server. How to parse the data and save it as a file? For example: the extensions of file ,such as...

1. in windows, the text file linefeed usually `r`n 2. variable should be "response"

Fix MIMES Fix memory leaks

The script is perfect. But I am using AHK V2. Is there a V2 version existed already?