diff --git a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java index eccdc480e854f1cf1380f22e5bc88088963ea40f..67fdf31e3da19a2980182164c714059683d98539 100644 --- a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java +++ b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java @@ -163,7 +163,7 @@ public class I2PTunnelHTTPClient extends I2PTunnelHTTPClientBase implements Runn "The request uses a bad protocol. " + "The I2P HTTP Proxy supports http:// requests ONLY. Other protocols such as https:// and ftp:// are not allowed.<BR>").getBytes(); private final static byte[] ERR_BAD_URI = - ("HTTP/1.1 403 Bad URI\r\n" + + ("HTTP/1.1 400 Bad URI\r\n" + "Content-Type: text/html; charset=iso-8859-1\r\n" + "Cache-control: no-cache\r\n" + "\r\n" + diff --git a/installer/resources/proxy/baduri-header.ht b/installer/resources/proxy/baduri-header.ht index 49fb39a8357a44b683233aa340f9762e1251d639..012cdef58912b31d263b8580f6eadd63c36a5e3e 100644 --- a/installer/resources/proxy/baduri-header.ht +++ b/installer/resources/proxy/baduri-header.ht @@ -1,4 +1,4 @@ -HTTP/1.1 403 Bad URI +HTTP/1.1 400 Bad URI Content-Type: text/html; charset=UTF-8 Cache-control: no-cache Connection: close