RFR: Use headers and other info from the most recent response

Erik Helin ehelin at openjdk.java.net
Thu Dec 10 16:19:04 UTC 2020


On Thu, 10 Dec 2020 15:54:34 GMT, Robin Westberg <rwestberg at openjdk.org> wrote:

> When a 304 response is received from a GET request, we retrieve the original request from the cache and return it instead. However, we should only reuse the cached body as other headers (such as links to further result pages) may have been updated.

Looks good!

-------------

Marked as reviewed by ehelin (Reviewer).

PR: https://git.openjdk.java.net/skara/pull/971


More information about the skara-dev mailing list