|
|
@@ -14,49 +14,49 @@
|
|
|
char * proxy_stringtable[] = {
|
|
|
/* 0 */ "HTTP/1.0 400 Bad Request\r\n"
|
|
|
"Proxy-Connection: close\r\n"
|
|
|
- "Content-type: text/html; charset=us-ascii\r\n"
|
|
|
+ "Content-type: text/html; charset=utf-8\r\n"
|
|
|
"\r\n"
|
|
|
"<html><head><title>400 Bad Request</title></head>\r\n"
|
|
|
"<body><h2>400 Bad Request</h2></body></html>\r\n",
|
|
|
|
|
|
/* 1 */ "HTTP/1.0 502 Bad Gateway\r\n"
|
|
|
"Proxy-Connection: close\r\n"
|
|
|
- "Content-type: text/html; charset=us-ascii\r\n"
|
|
|
+ "Content-type: text/html; charset=utf-8\r\n"
|
|
|
"\r\n"
|
|
|
"<html><head><title>502 Bad Gateway</title></head>\r\n"
|
|
|
"<body><h2>502 Bad Gateway</h2><h3>Host Not Found or connection failed</h3></body></html>\r\n",
|
|
|
|
|
|
/* 2 */ "HTTP/1.0 503 Service Unavailable\r\n"
|
|
|
"Proxy-Connection: close\r\n"
|
|
|
- "Content-type: text/html; charset=us-ascii\r\n"
|
|
|
+ "Content-type: text/html; charset=utf-8\r\n"
|
|
|
"\r\n"
|
|
|
"<html><head><title>503 Service Unavailable</title></head>\r\n"
|
|
|
"<body><h2>503 Service Unavailable</h2><h3>You have exceeded your traffic limit</h3></body></html>\r\n",
|
|
|
|
|
|
/* 3 */ "HTTP/1.0 503 Service Unavailable\r\n"
|
|
|
"Proxy-Connection: close\r\n"
|
|
|
- "Content-type: text/html; charset=us-ascii\r\n"
|
|
|
+ "Content-type: text/html; charset=utf-8\r\n"
|
|
|
"\r\n"
|
|
|
"<html><head><title>503 Service Unavailable</title></head>\r\n"
|
|
|
"<body><h2>503 Service Unavailable</h2><h3>Recursion detected</h3></body></html>\r\n",
|
|
|
|
|
|
/* 4 */ "HTTP/1.0 501 Not Implemented\r\n"
|
|
|
"Proxy-Connection: close\r\n"
|
|
|
- "Content-type: text/html; charset=us-ascii\r\n"
|
|
|
+ "Content-type: text/html; charset=utf-8\r\n"
|
|
|
"\r\n"
|
|
|
"<html><head><title>501 Not Implemented</title></head>\r\n"
|
|
|
"<body><h2>501 Not Implemented</h2><h3>Required action is not supported by proxy server</h3></body></html>\r\n",
|
|
|
|
|
|
/* 5 */ "HTTP/1.0 502 Bad Gateway\r\n"
|
|
|
"Proxy-Connection: close\r\n"
|
|
|
- "Content-type: text/html; charset=us-ascii\r\n"
|
|
|
+ "Content-type: text/html; charset=utf-8\r\n"
|
|
|
"\r\n"
|
|
|
"<html><head><title>502 Bad Gateway</title></head>\r\n"
|
|
|
"<body><h2>502 Bad Gateway</h2><h3>Failed to connect parent proxy</h3></body></html>\r\n",
|
|
|
|
|
|
/* 6 */ "HTTP/1.0 500 Internal Error\r\n"
|
|
|
"Proxy-Connection: close\r\n"
|
|
|
- "Content-type: text/html; charset=us-ascii\r\n"
|
|
|
+ "Content-type: text/html; charset=utf-8\r\n"
|
|
|
"\r\n"
|
|
|
"<html><head><title>500 Internal Error</title></head>\r\n"
|
|
|
"<body><h2>500 Internal Error</h2><h3>Internal proxy error during processing your request</h3></body></html>\r\n",
|
|
|
@@ -64,7 +64,7 @@ char * proxy_stringtable[] = {
|
|
|
/* 7 */ "HTTP/1.0 407 Proxy Authentication Required\r\n"
|
|
|
"Proxy-Authenticate: Basic realm=\"proxy\"\r\n"
|
|
|
"Proxy-Connection: close\r\n"
|
|
|
- "Content-type: text/html; charset=us-ascii\r\n"
|
|
|
+ "Content-type: text/html; charset=utf-8\r\n"
|
|
|
"\r\n"
|
|
|
"<html><head><title>407 Proxy Authentication Required</title></head>\r\n"
|
|
|
"<body><h2>407 Proxy Authentication Required</h2><h3>Access to requested resource disallowed by administrator or you need valid username/password to use this resource</h3></body></html>\r\n",
|
|
|
@@ -76,14 +76,14 @@ char * proxy_stringtable[] = {
|
|
|
|
|
|
/* 10*/ "HTTP/1.0 404 Not Found\r\n"
|
|
|
"Proxy-Connection: close\r\n"
|
|
|
- "Content-type: text/html; charset=us-ascii\r\n"
|
|
|
+ "Content-type: text/html; charset=utf-8\r\n"
|
|
|
"\r\n"
|
|
|
"<html><head><title>404 Not Found</title></head>\r\n"
|
|
|
"<body><h2>404 Not Found</h2><h3>File not found</body></html>\r\n",
|
|
|
|
|
|
/* 11*/ "HTTP/1.0 403 Forbidden\r\n"
|
|
|
"Proxy-Connection: close\r\n"
|
|
|
- "Content-type: text/html; charset=us-ascii\r\n"
|
|
|
+ "Content-type: text/html; charset=utf-8\r\n"
|
|
|
"\r\n"
|
|
|
"<html><head><title>403 Access Denied</title></head>\r\n"
|
|
|
"<body><h2>403 Access Denied</h2><h3>Access control list denies you to access this resource</body></html>\r\n",
|
|
|
@@ -94,7 +94,7 @@ char * proxy_stringtable[] = {
|
|
|
#endif
|
|
|
"Proxy-Authenticate: basic realm=\"proxy\"\r\n"
|
|
|
"Proxy-Connection: close\r\n"
|
|
|
- "Content-type: text/html; charset=us-ascii\r\n"
|
|
|
+ "Content-type: text/html; charset=utf-8\r\n"
|
|
|
"\r\n"
|
|
|
"<html><head><title>407 Proxy Authentication Required</title></head>\r\n"
|
|
|
"<body><h2>407 Proxy Authentication Required</h2><h3>Access to requested resource disallowed by administrator or you need valid username/password to use this resource</h3></body></html>\r\n",
|
|
|
@@ -106,13 +106,13 @@ char * proxy_stringtable[] = {
|
|
|
|
|
|
/* 14*/ "HTTP/1.0 403 Forbidden\r\n"
|
|
|
"Proxy-Connection: close\r\n"
|
|
|
- "Content-type: text/html; charset=us-ascii\r\n"
|
|
|
+ "Content-type: text/html; charset=utf-8\r\n"
|
|
|
"\r\n"
|
|
|
"<pre>",
|
|
|
|
|
|
/* 15*/ "HTTP/1.0 503 Service Unavailable\r\n"
|
|
|
"Proxy-Connection: close\r\n"
|
|
|
- "Content-type: text/html; charset=us-ascii\r\n"
|
|
|
+ "Content-type: text/html; charset=utf-8\r\n"
|
|
|
"\r\n"
|
|
|
"<html><head><title>503 Service Unavailable</title></head>\r\n"
|
|
|
"<body><h2>503 Service Unavailable</h2><h3>Your request violates configured policy</h3></body></html>\r\n",
|
|
|
@@ -120,7 +120,7 @@ char * proxy_stringtable[] = {
|
|
|
/* 16*/ "HTTP/1.0 401 Authentication Required\r\n"
|
|
|
"WWW-Authenticate: basic realm=\"FTP Server\"\r\n"
|
|
|
"Proxy-Connection: close\r\n"
|
|
|
- "Content-type: text/html; charset=us-ascii\r\n"
|
|
|
+ "Content-type: text/html; charset=utf-8\r\n"
|
|
|
"\r\n"
|
|
|
"<html><head><title>401 FTP Server requires authentication</title></head>\r\n"
|
|
|
"<body><h2>401 FTP Server requires authentication</h2><h3>This FTP server rejects anonymous access</h3></body></html>\r\n",
|