问一个很弱的问题
response.writeHead(200, {“Content-Type”: “text/plain”}); response.write(“hello world”); response.end();
response.writeHead(200, {“Content-Type”: “text/plain”}); response.write(); response.end(“hello world”);
输出写在end中和写在write中有什么区别