From f7ed5d10954ad6085f7b7ad97e651f92ee800a5f Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 15 Apr 2013 16:21:10 +0300 Subject: Use text/plain instead of application/json (#11610) Change-Id: Id578d2204f99986b54174022febc3e2d4510a414 --- server/src/com/vaadin/server/communication/PushHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') 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) -- cgit v1.2.3