From: phk Date: Wed, 19 Jul 2006 11:11:48 +0000 (+0000) Subject: handle 302 for now. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2a173f080e1d26f716b52d187d28563e90e8af5;p=varnish handle 302 for now. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@497 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/rfc2616.c b/varnish-cache/bin/varnishd/rfc2616.c index 109e1b9d..ddd01da9 100644 --- a/varnish-cache/bin/varnishd/rfc2616.c +++ b/varnish-cache/bin/varnishd/rfc2616.c @@ -139,6 +139,7 @@ RFC2616_cache_policy(struct sess *sp, struct http *hp) case 203: /* Non-Authoritative Information */ case 300: /* Multiple Choices */ case 301: /* Moved Permanently */ + case 302: /* XXX */ case 410: /* Gone */ case 404: /* Not Found */ sp->obj->cacheable = 1;