提交 6f30d521 编写于 作者: 张乐 提交者: GitHub

Merge pull request #559 from nobodyiam/fix-safari-heartbeat

add content type for compatibility issue
......@@ -14,6 +14,7 @@ public class DefaultSsoHeartbeatHandler implements SsoHeartbeatHandler {
@Override
public void doHeartbeat(HttpServletRequest request, HttpServletResponse response) {
try {
response.setContentType("text/plain;charset=utf-8");
response.getWriter().write("default sso heartbeat handler");
} catch (IOException e) {
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册