HTTP Proxy: Better HTTP status message when no outproxy configured

This commit is contained in:
zzz
2017-11-21 00:06:32 +00:00
parent 5000a266cb
commit 173823695f
2 changed files with 3 additions and 3 deletions

View File

@@ -80,7 +80,7 @@ public abstract class I2PTunnelHTTPClientBase extends I2PTunnelClientBase implem
protected final List<String> _proxyList;
protected final static String ERR_NO_OUTPROXY =
"HTTP/1.1 503 Service Unavailable\r\n"+
"HTTP/1.1 503 No Outproxy Configured\r\n"+
"Content-Type: text/html; charset=iso-8859-1\r\n"+
"Cache-control: no-cache\r\n"+
"Connection: close\r\n"+
@@ -88,7 +88,7 @@ public abstract class I2PTunnelHTTPClientBase extends I2PTunnelClientBase implem
"\r\n"+
"<html><body><H1>I2P ERROR: No outproxy found</H1>"+
"Your request was for a site outside of I2P, but you have no "+
"HTTP outproxy configured. Please configure an outproxy in I2PTunnel";
"outproxy configured. Please configure an outproxy in I2PTunnel";
protected final static String ERR_DESTINATION_UNKNOWN =
"HTTP/1.1 503 Service Unavailable\r\n" +