Skip to content

Commit

Permalink
change to html to make it display right
Browse files Browse the repository at this point in the history
  • Loading branch information
He-Pin authored and normanmaurer committed Jun 22, 2017
1 parent 378439e commit 4320785
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -51,7 +51,7 @@ public void channelRead0(ChannelHandlerContext ctx,
request.getProtocolVersion(), HttpResponseStatus.OK);
response.headers().set(
HttpHeaders.Names.CONTENT_TYPE,
"text/plain; charset=UTF-8");
"text/html; charset=UTF-8");
boolean keepAlive = HttpHeaders.isKeepAlive(request);
if (keepAlive) {
response.headers().set(
Expand Down

0 comments on commit 4320785

Please sign in to comment.