summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/com/vaadin/server/communication/PushHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/server/communication/PushHandler.java b/server/src/com/vaadin/server/communication/PushHandler.java
index 15da4c3707..fd061dc99d 100644
--- a/server/src/com/vaadin/server/communication/PushHandler.java
+++ b/server/src/com/vaadin/server/communication/PushHandler.java
@@ -102,7 +102,7 @@ public class PushHandler implements AtmosphereHandler {
"New push connection with transport {}",
resource.transport());
resource.getResponse().setContentType(
- "application/json; charset=UTF-8");
+ "text/plain; charset=UTF-8");
if (resource.transport() == TRANSPORT.STREAMING) {
// IE8 requires a longer padding to work properly if the
// initial message is small (#11573)