[master] 63728f8 Update the XHTML in the default guru page.

Poul-Henning Kamp phk at FreeBSD.org
Wed Aug 13 19:16:45 CEST 2014


commit 63728f8839d47b308fd269cfc5bac2d2ff8a7f16
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Aug 13 17:15:58 2014 +0000

    Update the XHTML in the default guru page.
    
    Submitted by:	mattrobenolt
    Approved by:	mithradir

diff --git a/bin/varnishd/builtin.vcl b/bin/varnishd/builtin.vcl
index cfb2238..6ead64e 100644
--- a/bin/varnishd/builtin.vcl
+++ b/bin/varnishd/builtin.vcl
@@ -126,10 +126,7 @@ sub vcl_deliver {
 sub vcl_synth {
     set resp.http.Content-Type = "text/html; charset=utf-8";
     set resp.http.Retry-After = "5";
-    synthetic( {"
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+    synthetic( {"<!DOCTYPE html>
 <html>
   <head>
     <title>"} + resp.status + " " + resp.reason + {"</title>
@@ -173,10 +170,7 @@ sub vcl_backend_response {
 sub vcl_backend_error {
     set beresp.http.Content-Type = "text/html; charset=utf-8";
     set beresp.http.Retry-After = "5";
-    synthetic( {"
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+    synthetic( {"<!DOCTYPE html>
 <html>
   <head>
     <title>"} + beresp.status + " " + beresp.reason + {"</title>



More information about the varnish-commit mailing list