Skip to content

Commit

Permalink
proxy sends status code now
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4860 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
lotus committed May 27, 2008
1 parent 1a18413 commit ba4091c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/de/anomic/http/httpd.java
Expand Up @@ -1249,7 +1249,8 @@ else if (httpVersion.equals("HTTP/1.1") && httpHeader.http1_1.containsKey(Intege
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));
Expand Down

0 comments on commit ba4091c

Please sign in to comment.