From 727f4c3bb5d9a66d21d307da0985f66426adb0d7 Mon Sep 17 00:00:00 2001 From: brianr Date: Mon, 24 May 2004 07:28:24 +0000 Subject: [PATCH] Another rfc2068 fix. ERR_REQUEST_DENIED now returns a 403 status code. Note that I'm assuming this error occurs because the proxy is configured to not allow connection to non-i2p destinations. If it's issued for other reasons we might want to consider using 503 instead. --- .../java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java index 8bb75ad4a..c333d384d 100644 --- a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java +++ b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java @@ -45,7 +45,7 @@ public class I2PTunnelHTTPClient extends I2PTunnelClientBase implements Runnable private String wwwProxy; private final static byte[] ERR_REQUEST_DENIED = - ("HTTP/1.1 404 Not Found\r\n"+ + ("HTTP/1.1 403 Access Denied\r\n"+ "Content-Type: text/html; charset=iso-8859-1\r\n"+ "Cache-control: no-cache\r\n"+ "\r\n"+