]> err.no Git - varnish/commitdiff
Don't pass Content-Lenght through, we build it ourselves
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 28 Jun 2006 16:57:07 +0000 (16:57 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 28 Jun 2006 16:57:07 +0000 (16:57 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@254 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/include/http_headers.h

index ed1c76e9c2d2cec58f597d881a8f6d3d6107e016..3f9df2c24577d19eaefc0e485e1e3b89d6fb9f4d 100644 (file)
@@ -27,7 +27,7 @@ HTTPH("Cache-Control",                H_Cache_Control,        3, 0, 0, 0, 0)  /* RFC2616 14.9 */
 HTTPH("Connection",            H_Connection,           3, 3, 0, 0, 0)  /* RFC2616 14.10 */
 HTTPH("Content-Encoding",      H_Content_Encoding,     2, 0, 0, 0, 0)  /* RFC2616 14.11 */
 HTTPH("Content-Langugae",      H_Content_Language,     2, 0, 0, 0, 0)  /* RFC2616 14.12 */
-HTTPH("Content-Length",                H_Content_Length,       2, 0, 0, 0, 0)  /* RFC2616 14.13 */
+HTTPH("Content-Length",                H_Content_Length,       2, 2, 0, 0, 0)  /* RFC2616 14.13 */
 HTTPH("Content-Location",      H_Content_Location,     2, 0, 0, 0, 0)  /* RFC2616 14.14 */
 HTTPH("Content-MD5",           H_Content_MD5,          2, 0, 0, 0, 0)  /* RFC2616 14.15 */
 HTTPH("Content-Range",         H_Content_Range,        2, 0, 0, 0, 0)  /* RFC2616 14.16 */