服务端简单重定向
摘要:相应头里写 ctx.response().putHeader("Location","http://127.0.0.1/enjoy"); 相应状态写 ctx.response().setStatusCode(302); 返回个空响应就行了
阅读全文
posted @ 2018-04-24 21:23
posted @ 2018-04-24 21:23
posted @ 2018-04-17 12:08
posted @ 2018-04-14 09:26
posted @ 2018-04-13 17:24