proxy sends status code now

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4860 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
lotus 17 years ago
parent 1a1841392c
commit ba4091c5b2

@ -1249,7 +1249,8 @@ public final class httpd implements serverHandler {
o.close(); o = null;
if(header == null)
header = new httpHeader();
header = new httpHeader();
header.put(httpHeader.CONNECTION_PROP_PROXY_RESPOND_STATUS, Integer.toString(httpStatusCode));
header.put(httpHeader.DATE, systemDate);
header.put(httpHeader.CONTENT_TYPE, "text/html");
header.put(httpHeader.CONTENT_LENGTH, Integer.toString(result.length));

Loading…
Cancel
Save