Apply Debian package changes 3.0.28-1 and 3.0.28-2
[privoxy.git] / debian / patches / 17_502_no_such_domain.patch
1 From: Roland Rosenfeld <roland@debian.org>
2 Date: Sat, 5 Aug 2006 15:15:17 +0200
3 Subject: Changes the 404 HTTP status code of the "No such Domain" template
4  to 502 Bad Gateway, which seems to be more correct according to
5  http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
6
7 --- a/templates/no-such-domain
8 +++ b/templates/no-such-domain
9 @@ -78,7 +78,7 @@
10  <html>
11  
12  <head>
13 -  <title>404 - No such Domain (Privoxy@@my-hostname@)</title>
14 +  <title>502 - Bad Gateway (Privoxy@@my-hostname@)</title>
15    <meta http-equiv="Content-Style-Type" content="text/css">
16    <meta http-equiv="Content-Script-Type" content="text/javascript">
17    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
18 @@ -94,7 +94,7 @@
19    <table summary="" cellpadding="20" cellspacing="10" border="0" width="100%">
20      <tr>
21        <td class="status">
22 -        404
23 +        502
24        </td>
25        <td class="title" style="width: 100%">
26