Skip to content

Commit

Permalink
Merge pull request apolloconfig#559 from nobodyiam/fix-safari-heartbeat
Browse files Browse the repository at this point in the history
add content type for compatibility issue
  • Loading branch information
lepdou authored Mar 7, 2017
2 parents ff8fa03 + 4a31a8f commit 6f30d52
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
}
Expand Down

0 comments on commit 6f30d52

Please sign in to comment.