function Request()hc.answer_header = 'HTTP/1.1 200 OK\nDate: Mon, 21 Apr 2014 09:56:54 GMT\nServer: Apache/1.3.37\nLast-Modified: Mon, 21 Apr 2014 03:57:08 GMT\nContent-Type: text/html; charset=koi8-r\nConnection: close' hc.answer_body ='<html><html><head>\n<title>Title</title></head>\n<body>\nHello!<br>\n</body>\n</html>'end
hc.action = 'stop'
function RequestHeaderReceived() hc.action = 'stop' hc.answer_header = 'HTTP/1.1 200 OK\nDate: Mon, 21 Apr 2014 09:56:54 GMT\nServer: Apache/2.2.0\nLast-Modified: Mon, 21 Apr 2014 03:57:08 GMT\nContent-Type: text/html; charset=koi8-r\nConnection: close\n\n\n' hc.answer_body = '<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"><!-- tiny web site --><html>\n<html><head>\n<title>Title</title></head>\n<body>\nHello!<br>\n</body>\n</html>' end
HTTP/1.1 200 OKDate: Mon, 22 Apr 2014 12:56:54 GMTServer: Apache/2.2.0Last-Modified: Mon, 21 Apr 2014 03:57:08 GMTContent-Type: text/html; charset=koi8-rConnection: close
HTTP/1.1 200 OKDate: Mon, 22 Apr 2014 12:56:54 GMTServer: Apache/2.2.0Last-Modified: Mon, 21 Apr 2014 03:57:08 GMTContent-Type: text/html; charset=koi8-rConnection: keep-aliveTransfer-Encoding: chunked