webman 在視圖模板中 標(biāo)簽 response('hello webman');會(huì)帶HTTP響應(yīng)頭信息如何隱藏
我在模板文件中 <?=response('hello webman');?> 目的是想直接輸出一段設(shè)置的html代碼;
或者是執(zhí)行一個(gè)方法 輸出一些加載JS的路徑 或者 一些JS 代碼;
是可以輸出 但是默認(rèn)會(huì)輸出以下信息
HTTP/1.1 200 OK
Server: workerman
Content-Type: text/html;charset=utf-8
Content-Length: 15
Connection: keep-alive
hello webman
想只輸出hello webman 就滿足了
我是小白 請(qǐng)多多包涵。