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