goahead websWrite
作者:互联网
websWrite(wp, "HTTP/1.0 200 OK\n"); websWrite(wp, "Server: %s/%s\r\n", WEBS_NAME, WEBS_VERSION); websWrite(wp, "Pragma: no-cache\n"); websWrite(wp, "Cache-control: no-cache\n"); websWrite(wp, "Content-Type: text/html\n"); websWrite(wp, "\n"); websWrite(wp, "<html>\n<head>\n"); websWrite(wp, "<title>My Title</title>"); websWrite(wp, "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">"); websWrite(wp, "</head>\n<body>\n"); websWrite(wp, "this is lyd test</body>\n</html>\n");
标签:control,no,cache,WEBS,wp,goahead,websWrite 来源: https://www.cnblogs.com/hshy/p/16420639.html