Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(637)

Unified Diff: runtime/bin/vmservice/server.dart

Issue 192443004: Complete the switch to ServiceObject (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/vmservice/server.dart
diff --git a/runtime/bin/vmservice/server.dart b/runtime/bin/vmservice/server.dart
index 6467b7d8f63096d2b15c7b2b02b7e81f4c4c3235..1dbbbfc5120ff03bb263cf1cdc3a37a04e1750c9 100644
--- a/runtime/bin/vmservice/server.dart
+++ b/runtime/bin/vmservice/server.dart
@@ -57,7 +57,8 @@ class WebSocketClient extends Client {
class HttpRequestClient extends Client {
- static ContentType jsonContentType = ContentType.parse('application/json');
+ static ContentType jsonContentType =
+ new ContentType("application", "json", charset: "utf-8");
final HttpRequest request;
HttpRequestClient(this.request, service) : super(service);

Powered by Google App Engine
This is Rietveld 408576698