You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
342 B

16 years ago
function Process(request) {
log("Processing " + request.path + ". method: " + request.method);
request.onBody = function (chunk) {
log("body chunk: " + chunk);
16 years ago
}
request.respond("HTTP/1.0 200 OK\r\n")
request.respond("Content-Type: text-plain\r\nContent-Length: 6\r\n\r\nhello\n");
/*
request.response_complete();
*/
16 years ago
}