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.x]: Fix static content sending 304 with entity. #8599

Merged
merged 3 commits into from
Apr 2, 2024

Conversation

tomas-langer
Copy link
Member

This was caused by error handling of HttpException. Now we honor headers in the exception, and we do not send entity if the status is one of the forbidden ones.
Also fixed client, as 304 is not a real redirect, so it cannot have Location

Description

Resolves #8543

This was caused by error handling of HttpException.
Now we honor headers in the exception, and we do not send entity if the status
is one of the forbidden ones.
Also fixed client, as 304 is not a real redirect, so it cannot have `Location`
@tomas-langer tomas-langer added bug Something isn't working webserver 4.x Version 4.x labels Apr 2, 2024
@tomas-langer tomas-langer self-assigned this Apr 2, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 2, 2024
romain-grecourt
romain-grecourt previously approved these changes Apr 2, 2024
@tomas-langer tomas-langer merged commit 28b2136 into helidon-io:main Apr 2, 2024
12 checks passed
@tomas-langer tomas-langer deleted the http-exception branch April 2, 2024 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x bug Something isn't working OCA Verified All contributors have signed the Oracle Contributor Agreement. webserver
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Http Status 500 with "Accepted by If-None-Match header" is returned when serving unchanged static content
2 participants