]> err.no Git - varnish/commitdiff
Pass Content-Encoding header
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 6 Apr 2006 09:59:30 +0000 (09:59 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 6 Apr 2006 09:59:30 +0000 (09:59 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@134 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/include/http_headers.h
varnish-cache/lib/libvcl/vcl_fixed_token.c

index c23945fa639e4187b0af63f42d13c807a69eddf9..d9258549dd0863e5395a7ff4b6528feb76369e4f 100644 (file)
@@ -46,3 +46,5 @@ HTTPH("Content-Length",               H_Content_Length,       2, 1, 0, 0, 0)
 HTTPH("Vary",                  H_Vary,                 2, 1, 0, 0, 0)
 HTTPH("Expires",               H_Expires,              2, 1, 0, 0, 0)
 HTTPH("Location",              H_Location,             2, 1, 0, 0, 0)
+HTTPH("Content-Encoding",      H_Content_Encoding,     2, 1, 0, 0, 0)
+
index 09d262b104b1a7b0003dd6e4c6f79d98a6727c85..ca30d1ab2e9a9efb5a8ce8cc00e99a097876a485 100644 (file)
@@ -463,6 +463,8 @@ vcl_output_lang_h(FILE *f)
        fputs("HTTPH(\"Vary\",                  H_Vary,                 2, 1, 0, 0, 0)\n", f);
        fputs("HTTPH(\"Expires\",               H_Expires,              2, 1, 0, 0, 0)\n", f);
        fputs("HTTPH(\"Location\",              H_Location,             2, 1, 0, 0, 0)\n", f);
+       fputs("HTTPH(\"Content-Encoding\",      H_Content_Encoding,     2, 1, 0, 0, 0)\n", f);
+       fputs("\n", f);
        fputs("#undef HTTPH\n", f);
        fputs(" const char              *uhdr[VCA_UNKNOWNHDR];\n", f);
        fputs(" unsigned                nuhdr;\n", f);