Skip to content

Commit

Permalink
Long-polling requests no more show XML parsing syntax error in Firefo…
Browse files Browse the repository at this point in the history
…x console

Fix bug #2495
  • Loading branch information
SuperPat45 authored and jfarcand committed Jan 10, 2024
1 parent 5d89c14 commit 8986f6f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ public void onSuspend(AtmosphereResourceEvent event) {
request.setAttribute(CALLBACK_JAVASCRIPT_PROTOCOL, a);
r.addEventListener(a);
} else {
response.setContentType("text/plain");
response.write(protocolMessage.get());
}

Expand Down

0 comments on commit 8986f6f

Please sign in to comment.