From: phk Date: Fri, 31 Mar 2006 08:24:36 +0000 (+0000) Subject: Reusable macro definition of HTTP headers. We will need these X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bf6ade70c5c419967fb24d678fba1a87ca229b2;p=varnish Reusable macro definition of HTTP headers. We will need these several different places in the sources. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@89 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/include/http_headers.h b/varnish-cache/include/http_headers.h new file mode 100644 index 00000000..174d46d2 --- /dev/null +++ b/varnish-cache/include/http_headers.h @@ -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)