summaryrefslogtreecommitdiffstats
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/com/vaadin/client/communication/XhrConnection.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/client/src/com/vaadin/client/communication/XhrConnection.java b/client/src/com/vaadin/client/communication/XhrConnection.java
index 1de6fb15c8..ff8155259e 100644
--- a/client/src/com/vaadin/client/communication/XhrConnection.java
+++ b/client/src/com/vaadin/client/communication/XhrConnection.java
@@ -151,14 +151,6 @@ public class XhrConnection {
+ Util.round(Profiler.getRelativeTimeMillis()
- requestStartTime, 3) + "ms");
- String contentType = response.getHeader("Content-Type");
- if (contentType == null
- || !contentType.startsWith("application/json")) {
- getConnectionStateHandler().xhrInvalidContent(
- new XhrConnectionError(request, payload, response));
- return;
- }
-
// for(;;);["+ realJson +"]"
String responseText = response.getText();