[master] 0fb00eb Add 307 Temporary Redirect to the list of responses we consider cacheable.

Poul-Henning Kamp phk at varnish-cache.org
Mon May 23 12:27:57 CEST 2011


commit 0fb00eb730e9a41b8cc696607585d9982764fe39
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon May 23 10:27:23 2011 +0000

    Add 307 Temporary Redirect to the list of responses we consider
    cacheable.
    
    Fixes #908

diff --git a/bin/varnishd/rfc2616.c b/bin/varnishd/rfc2616.c
index 457edbe..97bbe81 100644
--- a/bin/varnishd/rfc2616.c
+++ b/bin/varnishd/rfc2616.c
@@ -98,6 +98,7 @@ RFC2616_Ttl(const struct sess *sp)
 	case 300: /* Multiple Choices */
 	case 301: /* Moved Permanently */
 	case 302: /* Moved Temporarily */
+	case 307: /* Temporary Redirect */
 	case 410: /* Gone */
 	case 404: /* Not Found */
 		/*



More information about the varnish-commit mailing list