diff --git a/java/client/test/org/openqa/selenium/ProxySettingTest.java b/java/client/test/org/openqa/selenium/ProxySettingTest.java index b611ac1f27985..d595369dc5a13 100644 --- a/java/client/test/org/openqa/selenium/ProxySettingTest.java +++ b/java/client/test/org/openqa/selenium/ProxySettingTest.java @@ -235,6 +235,7 @@ private WebServer createSimpleHttpServer(final String responseHtml) { public void handleHttpRequest( HttpRequest request, HttpResponse response, HttpControl control) { response.charset(Charsets.UTF_8) + .header(HttpHeaders.CONTENT_TYPE, "text/html") .content(responseHtml) .end(); }