--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/web/BanListener.java 2013/03/20 16:41:20 1940 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/web/BanListener.java 2013/03/20 16:44:18 1941 @@ -59,6 +59,7 @@ } byte bytes[] = text.getBytes(); + http.getResponseHeaders().add("Content-Type", "text/plain"); http.sendResponseHeaders(HttpURLConnection.HTTP_OK, bytes.length ); final OutputStream os = http.getResponseBody(); os.write(bytes);