transfer-encoding和content-length的不同实现
前段时间在项目中看到如下的代码:HttpServletResponse response = HttpServletResponse)servletResponse;response.setHeader("Transfer-Encoding", "utf8");filterChain.doFilter(servletRequest, servletResponse);原意是想对输出的内容进行编码
转载
2016-01-19 10:23:24 ·
1555 阅读 ·
0 评论