diff options
author | Artur Signell <artur@vaadin.com> | 2013-04-15 16:21:10 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-04-15 13:23:32 +0000 |
commit | f7ed5d10954ad6085f7b7ad97e651f92ee800a5f (patch) | |
tree | 615a06d8950fcf68ccff22d42681c4a0732433a5 | |
parent | 5dfbd29c46b4b7885e719d9320da0c4894c0a126 (diff) | |
download | vaadin-framework-f7ed5d10954ad6085f7b7ad97e651f92ee800a5f.tar.gz vaadin-framework-f7ed5d10954ad6085f7b7ad97e651f92ee800a5f.zip |
Use text/plain instead of application/json (#11610)
Change-Id: Id578d2204f99986b54174022febc3e2d4510a414
-rw-r--r-- | server/src/com/vaadin/server/communication/PushHandler.java | 2 |
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) |