diff --git src/plugin/protocol-http/jsp/basic-http.jsp src/plugin/protocol-http/jsp/basic-http.jsp index f8eca8e..bf1f8bd 100644 --- src/plugin/protocol-http/jsp/basic-http.jsp +++ src/plugin/protocol-http/jsp/basic-http.jsp @@ -21,7 +21,7 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request. %> - + diff --git src/plugin/protocol-http/jsp/brokenpage.jsp src/plugin/protocol-http/jsp/brokenpage.jsp index 8e47ef2..f3f7c4a 100644 --- src/plugin/protocol-http/jsp/brokenpage.jsp +++ src/plugin/protocol-http/jsp/brokenpage.jsp @@ -24,7 +24,7 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request. - + diff --git src/plugin/protocol-http/jsp/redirect301.jsp src/plugin/protocol-http/jsp/redirect301.jsp index 1fcf403..1100b89 100644 --- src/plugin/protocol-http/jsp/redirect301.jsp +++ src/plugin/protocol-http/jsp/redirect301.jsp @@ -21,7 +21,7 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request. %> - + diff --git src/plugin/protocol-http/jsp/redirect302.jsp src/plugin/protocol-http/jsp/redirect302.jsp index d0029f5..8a250d9 100644 --- src/plugin/protocol-http/jsp/redirect302.jsp +++ src/plugin/protocol-http/jsp/redirect302.jsp @@ -21,7 +21,7 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request. %> - + diff --git src/plugin/protocol-http/src/test/org/apache/nutch/protocol/http/TestProtocolHttp.java src/plugin/protocol-http/src/test/org/apache/nutch/protocol/http/TestProtocolHttp.java index 39246ed..7dd9e9b 100644 --- src/plugin/protocol-http/src/test/org/apache/nutch/protocol/http/TestProtocolHttp.java +++ src/plugin/protocol-http/src/test/org/apache/nutch/protocol/http/TestProtocolHttp.java @@ -133,7 +133,7 @@ public class TestProtocolHttp { if (page.compareTo("/nonexists.html") != 0 && page.compareTo("/brokenpage.jsp") != 0 && page.compareTo("/redirection") != 0) { - assertEquals("ContentType " + url, "application/xhtml+xml", + assertEquals("ContentType " + url, "text/html", content.getContentType()); } }