From ba4091c5b230429306f241d8cb5074f5094592e1 Mon Sep 17 00:00:00 2001 From: lotus Date: Tue, 27 May 2008 13:11:06 +0000 Subject: [PATCH] proxy sends status code now git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4860 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/http/httpd.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/de/anomic/http/httpd.java b/source/de/anomic/http/httpd.java index 705046028..a865a6427 100644 --- a/source/de/anomic/http/httpd.java +++ b/source/de/anomic/http/httpd.java @@ -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));