*) Bugfix of NullPointerException when sending Error Respond

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@305 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 20 years ago
parent bf78e0a6a4
commit 0e48177ad8

@ -1123,7 +1123,7 @@ public final class httpd implements serverHandler {
httpHeader header = new httpHeader();
header.put(httpHeader.DATE, httpc.dateString(httpc.nowDate()));
header.put(httpHeader.CONTENT_TYPE, "text/html");
header.put(httpHeader.CONTENT_LENGTH, "" + o.size());
header.put(httpHeader.CONTENT_LENGTH, "" + result.length);
header.put(httpHeader.PRAGMA, "no-cache");
sendRespondHeader(conProp,respond,httpVersion,httpStatusCode,httpStatusText,header);

Loading…
Cancel
Save