Merge Debian version 3.0.29-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 Forwarded: not-needed
7
8 --- a/templates/no-such-domain
9 +++ b/templates/no-such-domain
10 @@ -78,7 +78,7 @@
11  <html>
12  
13  <head>
14 -  <title>404 - No such Domain (Privoxy@@my-hostname@)</title>
15 +  <title>502 - Bad Gateway (Privoxy@@my-hostname@)</title>
16    <meta http-equiv="Content-Style-Type" content="text/css">
17    <meta http-equiv="Content-Script-Type" content="text/javascript">
18    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
19 @@ -94,7 +94,7 @@
20    <table summary="" cellpadding="20" cellspacing="10" border="0" width="100%">
21      <tr>
22        <td class="status">
23 -        404
24 +        502
25        </td>
26        <td class="title" style="width: 100%">
27