Commit 6f30d521 by 张乐 Committed by GitHub

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

add content type for compatibility issue
parents ff8fa037 4a31a8f2
......@@ -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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment