[master] e090127 Add Cookie and Set-Cookie to the HTTP headers list

Rogier Mulhuijzen drwilco at varnish-cache.org
Thu Feb 23 07:58:44 CET 2012


commit e09012719af89bfb04a7759250349f63e7f4fd92
Author: Rogier 'DocWilco' Mulhuijzen <github at bsdchicks.com>
Date:   Wed Feb 22 22:52:06 2012 -0800

    Add Cookie and Set-Cookie to the HTTP headers list
    
    Requested by: Federico G. Schwindt <fgsch at lodoss.net>

diff --git a/include/tbl/http_headers.h b/include/tbl/http_headers.h
index 503c5c3..3f2c50a 100644
--- a/include/tbl/http_headers.h
+++ b/include/tbl/http_headers.h
@@ -62,6 +62,7 @@ HTTPH("Content-Location",	H_Content_Location,	0					  )	/* RFC2616 14.14 */
 HTTPH("Content-MD5",		H_Content_MD5,		0					  )	/* RFC2616 14.15 */
 HTTPH("Content-Range",		H_Content_Range,		       HTTPH_R_FETCH | HTTPH_A_INS)	/* RFC2616 14.16 */
 HTTPH("Content-Type",		H_Content_Type,		0					  )	/* RFC2616 14.17 */
+HTTPH("Cookie",			H_Cookie,		0					  )	/* RFC6265 4.2 */
 HTTPH("Date",			H_Date,			0					  )	/* RFC2616 14.18 */
 HTTPH("ETag",			H_ETag,			0					  )	/* RFC2616 14.19 */
 HTTPH("Expect",			H_Expect,		0					  )	/* RFC2616 14.20 */
@@ -83,6 +84,7 @@ HTTPH("Range",			H_Range,			       HTTPH_R_FETCH | HTTPH_A_INS)	/* RFC2616 14.35
 HTTPH("Referer",		H_Referer,		0					  )	/* RFC2616 14.36 */
 HTTPH("Retry-After",		H_Retry_After,		0					  )	/* RFC2616 14.37 */
 HTTPH("Server",			H_Server,		0					  )	/* RFC2616 14.38 */
+HTTPH("Set-Cookie",		H_Set_Cookie,		0					  )	/* RFC6265 4.1 */
 HTTPH("TE",			H_TE,			HTTPH_R_PASS | HTTPH_R_FETCH | HTTPH_A_INS)	/* RFC2616 14.39 */
 HTTPH("Trailer",		H_Trailer,		HTTPH_R_PASS | HTTPH_R_FETCH | HTTPH_A_INS)	/* RFC2616 14.40 */
 HTTPH("Transfer-Encoding",	H_Transfer_Encoding,	HTTPH_R_PASS | HTTPH_R_FETCH | HTTPH_A_INS)	/* RFC2616 14.41 */



More information about the varnish-commit mailing list