httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60992] New: [PATCH] Cache 308 and 410 responses even without Cache-Control/Expires headers
Date Fri, 14 Apr 2017 17:37:13 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60992

            Bug ID: 60992
           Summary: [PATCH] Cache 308 and 410 responses even without
                    Cache-Control/Expires headers
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_cache
          Assignee: bugs@httpd.apache.org
          Reporter: code@daniel.priv.no
  Target Milestone: ---

Created attachment 34915
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34915&action=edit
Patch

Description of changes:

The new behavior for 410 responses matches RFC2616 section 13.4 (already quoted
in inline comments, but not implemented) and the new behavior for 308 responses
matches RFC7538 section 3.


Testing:

A `HTTP/1.1 410 Gone` response without an `Expires` or `Cache-Control` header
should be cached as set in the `CacheDefaultExpire` directive.

A `HTTP/1.1 308 Permanent Redirect` response without an `Expires` or
`Cache-Control` header should be cached as set in the `CacheDefaultExpire`
directive.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message