r134 - in trunk/varnish-cache: include lib/libvcl
phk at projects.linpro.no
phk at projects.linpro.no
Thu Apr 6 11:59:30 CEST 2006
Author: phk
Date: 2006-04-06 11:59:30 +0200 (Thu, 06 Apr 2006)
New Revision: 134
Modified:
trunk/varnish-cache/include/http_headers.h
trunk/varnish-cache/lib/libvcl/vcl_fixed_token.c
Log:
Pass Content-Encoding header
Modified: trunk/varnish-cache/include/http_headers.h
===================================================================
--- trunk/varnish-cache/include/http_headers.h 2006-04-06 09:38:00 UTC (rev 133)
+++ trunk/varnish-cache/include/http_headers.h 2006-04-06 09:59:30 UTC (rev 134)
@@ -46,3 +46,5 @@
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)
+
Property changes on: trunk/varnish-cache/include/http_headers.h
___________________________________________________________________
Name: svn:keywords
+ Id
Modified: trunk/varnish-cache/lib/libvcl/vcl_fixed_token.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcl_fixed_token.c 2006-04-06 09:38:00 UTC (rev 133)
+++ trunk/varnish-cache/lib/libvcl/vcl_fixed_token.c 2006-04-06 09:59:30 UTC (rev 134)
@@ -463,6 +463,8 @@
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);
More information about the varnish-commit
mailing list