Commit 4a31a8f2 authored by nobodyiam's avatar nobodyiam

add content type for compatibility issue

parent ff8fa037
...@@ -14,6 +14,7 @@ public class DefaultSsoHeartbeatHandler implements SsoHeartbeatHandler { ...@@ -14,6 +14,7 @@ public class DefaultSsoHeartbeatHandler implements SsoHeartbeatHandler {
@Override @Override
public void doHeartbeat(HttpServletRequest request, HttpServletResponse response) { public void doHeartbeat(HttpServletRequest request, HttpServletResponse response) {
try { try {
response.setContentType("text/plain;charset=utf-8");
response.getWriter().write("default sso heartbeat handler"); response.getWriter().write("default sso heartbeat handler");
} catch (IOException e) { } 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