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

Robin Westberg rwestberg at openjdk.java.net
Fri Dec 11 08:03:50 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.

This pull request has now been integrated.

Changeset: af218cab
Author:    Robin Westberg <rwestberg at openjdk.org>
URL:       https://git.openjdk.java.net/skara/commit/af218cab
Stats:     92 lines in 2 files changed: 89 ins; 0 del; 3 mod

Use headers and other info from the most recent response

Reviewed-by: ehelin

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

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


More information about the skara-dev mailing list