...
This commit is contained in:
@@ -68,8 +68,8 @@ handle :: (client: s32) {
|
||||
buf : [4096]u8 = ---;
|
||||
read(client, buf, buf.len);
|
||||
|
||||
body := "<html><body><h1>Hello from sx!</h1></body></html>";
|
||||
response := format("HTTP/1.1 200 OK\r
|
||||
body :: "<html><body><h1>Hello from sx!</h1></body></html>";
|
||||
response :: format("HTTP/1.1 200 OK\r
|
||||
Content-Type: text/html\r
|
||||
Connection: close\r
|
||||
Content-Length: {}\r
|
||||
|
||||
Reference in New Issue
Block a user