Changeset 1738236


Ignore:
Timestamp:
Nov 21, 2017 12:06:32 AM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
07a83bf
Parents:
5000a26
Message:

HTTP Proxy: Better HTTP status message when no outproxy configured

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClientBase.java

    r5000a26 r1738236  
    8181
    8282    protected final static String ERR_NO_OUTPROXY =
    83          "HTTP/1.1 503 Service Unavailable\r\n"+
     83         "HTTP/1.1 503 No Outproxy Configured\r\n"+
    8484         "Content-Type: text/html; charset=iso-8859-1\r\n"+
    8585         "Cache-control: no-cache\r\n"+
     
    8989         "<html><body><H1>I2P ERROR: No outproxy found</H1>"+
    9090         "Your request was for a site outside of I2P, but you have no "+
    91          "HTTP outproxy configured.  Please configure an outproxy in I2PTunnel";
     91         "outproxy configured.  Please configure an outproxy in I2PTunnel";
    9292   
    9393    protected final static String ERR_DESTINATION_UNKNOWN =
  • installer/resources/proxy/noproxy-header.ht

    r5000a26 r1738236  
    1 HTTP/1.1 503 Service Unavailable
     1HTTP/1.1 503 No Outproxy Configured
    22Content-Type: text/html; charset=UTF-8
    33Cache-control: no-cache
Note: See TracChangeset for help on using the changeset viewer.