You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2006/01/27 20:55:55 UTC

svn commit: r372958 - /httpd/httpd/trunk/modules/http/http_filters.c

Author: jim
Date: Fri Jan 27 11:55:45 2006
New Revision: 372958

URL: http://svn.apache.org/viewcvs?rev=372958&view=rev
Log:
If the proxied response lacks a Server header, then
create one.

PR: 38002 (Bugz)
Submitted: william barker at wilshire com

Modified:
    httpd/httpd/trunk/modules/http/http_filters.c

Modified: httpd/httpd/trunk/modules/http/http_filters.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/http/http_filters.c?rev=372958&r1=372957&r2=372958&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http/http_filters.c (original)
+++ httpd/httpd/trunk/modules/http/http_filters.c Fri Jan 27 11:55:45 2006
@@ -714,6 +714,8 @@
         server = apr_table_get(r->headers_out, "Server");
         if (server) {
             form_header_field(&h, "Server", server);
+        } else {
+            form_header_field(&h, "Server", ap_get_server_version());
         }
     }
     else {