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: [email protected]
          Reporter: [email protected]
  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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to