r89 - trunk/varnish-cache/include

phk at projects.linpro.no phk at projects.linpro.no
Fri Mar 31 10:24:36 CEST 2006


Author: phk
Date: 2006-03-31 10:24:36 +0200 (Fri, 31 Mar 2006)
New Revision: 89

Added:
   trunk/varnish-cache/include/http_headers.h
Log:
Reusable macro definition of HTTP headers.  We will need these
several different places in the sources.


Added: trunk/varnish-cache/include/http_headers.h
===================================================================
--- trunk/varnish-cache/include/http_headers.h	2006-03-30 11:16:27 UTC (rev 88)
+++ trunk/varnish-cache/include/http_headers.h	2006-03-31 08:24:36 UTC (rev 89)
@@ -0,0 +1,25 @@
+/*
+ * $Id$
+ */
+
+HTTPH("Accept-Charset",			H_Accept_Charset)
+HTTPH("Accept-Encoding",		H_Accept_Encoding)
+HTTPH("Accept-Language",		H_Accept_Language)
+HTTPH("Accept",				H_Accept)
+HTTPH("Authorization",			H_Authorization)
+HTTPH("Connection",			H_Connection)
+HTTPH("Expect",				H_Expect)
+HTTPH("From",				H_From)
+HTTPH("Host",				H_Host)
+HTTPH("If-Match",			H_If_Match)
+HTTPH("If-Modified-Since",		H_If_Modified_Since)
+HTTPH("If-None-Match",			H_If_None_Match)
+HTTPH("If-Range",			H_If_Range)
+HTTPH("If-Unmodified-Since",		H_If_Unmodifed_Since)
+HTTPH("Keep-Alive",			H_Keep_Alive)
+HTTPH("Max-Forwards",			H_Max_Forwards)
+HTTPH("Proxy-Authorization",		H_Proxy_Authorization)
+HTTPH("Range",				H_Range)
+HTTPH("Referer",			H_Referer)
+HTTPH("TE",				H_TE)
+HTTPH("User-Agent",			H_User_Agent)




More information about the varnish-commit mailing list