From 5a1d52d82ca03d0611441ee5dd0f8a9e7565063e Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Fri, 29 Jun 2012 13:30:24 +0000 Subject: [PATCH] * HTTP Proxy: Change the error code for unknown host from 404 to 500. --- installer/resources/proxy/dnfh-header.ht | 2 +- installer/resources/proxy/dnfh-header_de.ht | 2 +- installer/resources/proxy/dnfh-header_fr.ht | 2 +- installer/resources/proxy/dnfh-header_nl.ht | 2 +- installer/resources/proxy/dnfh-header_ru.ht | 2 +- installer/resources/proxy/dnfh-header_zh.ht | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/installer/resources/proxy/dnfh-header.ht b/installer/resources/proxy/dnfh-header.ht index b50a3395f2..126c93f252 100644 --- a/installer/resources/proxy/dnfh-header.ht +++ b/installer/resources/proxy/dnfh-header.ht @@ -1,4 +1,4 @@ -HTTP/1.1 404 Domain Not Found +HTTP/1.1 500 Domain Not Found Content-Type: text/html; charset=UTF-8 Cache-control: no-cache Connection: close diff --git a/installer/resources/proxy/dnfh-header_de.ht b/installer/resources/proxy/dnfh-header_de.ht index c2c80f198b..9f9413424e 100644 --- a/installer/resources/proxy/dnfh-header_de.ht +++ b/installer/resources/proxy/dnfh-header_de.ht @@ -1,4 +1,4 @@ -HTTP/1.1 404 Domain Not Found +HTTP/1.1 500 Domain Not Found Content-Type: text/html; charset=UTF-8 Cache-control: no-cache Connection: close diff --git a/installer/resources/proxy/dnfh-header_fr.ht b/installer/resources/proxy/dnfh-header_fr.ht index d5dce0364a..c24e2d6bf6 100644 --- a/installer/resources/proxy/dnfh-header_fr.ht +++ b/installer/resources/proxy/dnfh-header_fr.ht @@ -1,4 +1,4 @@ -HTTP/1.1 404 Domaine non trouvé +HTTP/1.1 500 Domaine non trouvé Content-Type: text/html; charset=UTF-8 Cache-control: no-cache Connection: close diff --git a/installer/resources/proxy/dnfh-header_nl.ht b/installer/resources/proxy/dnfh-header_nl.ht index 0dc34e3dbf..296a62dddc 100644 --- a/installer/resources/proxy/dnfh-header_nl.ht +++ b/installer/resources/proxy/dnfh-header_nl.ht @@ -1,4 +1,4 @@ -HTTP/1.1 404 Domain Not Found +HTTP/1.1 500 Domain Not Found Content-Type: text/html; charset=UTF-8 Cache-control: no-cache Connection: close diff --git a/installer/resources/proxy/dnfh-header_ru.ht b/installer/resources/proxy/dnfh-header_ru.ht index cf24cbc277..0e34195599 100644 --- a/installer/resources/proxy/dnfh-header_ru.ht +++ b/installer/resources/proxy/dnfh-header_ru.ht @@ -1,4 +1,4 @@ -HTTP/1.1 404 Domain Not Found +HTTP/1.1 500 Domain Not Found Content-Type: text/html; charset=UTF-8 Cache-control: no-cache Connection: close diff --git a/installer/resources/proxy/dnfh-header_zh.ht b/installer/resources/proxy/dnfh-header_zh.ht index bf69555006..1e65a67c16 100644 --- a/installer/resources/proxy/dnfh-header_zh.ht +++ b/installer/resources/proxy/dnfh-header_zh.ht @@ -1,4 +1,4 @@ -HTTP/1.1 404 Domain Not Found +HTTP/1.1 500 Domain Not Found Content-Type: text/html; charset=UTF-8 Cache-control: no-cache Connection: close -- GitLab