Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.1.7: Restore setting of no-cache header in health HTTP responses; add test #9756

Open
wants to merge 1 commit into
base: helidon-4.1.x
Choose a base branch
from

Conversation

barchetta
Copy link
Member

Backport #9671 to Helidon 4.1.7

Description

Resolves #9670

Release note:


Formerly (in 3.x) HTTP responses from the health endpoint set the Cache-Control header to no-cache, no-store, must-revalidate, no-transform because the returned result could well be different for each request. But 4.x does not do so. This change restores those response header values.


This PR Restores the addition of the no-cache group of headers to the health response that was seemingly accidentally dropped in the move to 4.x.

Adds test checking for the header values.

Documentation

Bug fix. No doc impact.

@barchetta barchetta added the backport Issues that are merged into a single branch, but missing in either master or previous release label Feb 7, 2025
@barchetta barchetta added this to the 4.1.7 milestone Feb 7, 2025
@barchetta barchetta requested a review from tjquinno February 7, 2025 22:07
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Feb 7, 2025
@barchetta barchetta mentioned this pull request Feb 7, 2025
9 tasks
@barchetta barchetta self-assigned this Feb 7, 2025
@barchetta barchetta force-pushed the 4.1.7-9671-backport branch from 08a7707 to 50942ca Compare February 8, 2025 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Issues that are merged into a single branch, but missing in either master or previous release OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants