diff options
Diffstat (limited to 'AndroidAsync/src/com/koushikdutta/async/http/server/AsyncHttpServerResponseImpl.java')
-rw-r--r-- | AndroidAsync/src/com/koushikdutta/async/http/server/AsyncHttpServerResponseImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AndroidAsync/src/com/koushikdutta/async/http/server/AsyncHttpServerResponseImpl.java b/AndroidAsync/src/com/koushikdutta/async/http/server/AsyncHttpServerResponseImpl.java index bd7211b..9faa365 100644 --- a/AndroidAsync/src/com/koushikdutta/async/http/server/AsyncHttpServerResponseImpl.java +++ b/AndroidAsync/src/com/koushikdutta/async/http/server/AsyncHttpServerResponseImpl.java @@ -206,13 +206,13 @@ public class AsyncHttpServerResponseImpl implements AsyncHttpServerResponse { responseCode(200); String contentType = mRawHeaders.get("Content-Type"); if (contentType == null) - contentType = "text/html; charset=utf8"; + contentType = "text/html; charset=utf-8"; send(contentType, string); } @Override public void send(JSONObject json) { - send("application/json; charset=utf8", json.toString()); + send("application/json; charset=utf-8", json.toString()); } @Override |