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

getHeaderString was returning an empty string for missing headers #341

Merged
merged 2 commits into from
Aug 31, 2023

Conversation

timyates
Copy link
Contributor

This is not as per the definition.
This change makes it return null when it it missing.

https://jakarta.ee/specifications/platform/8/apidocs/javax/ws/rs/core/httpheaders#getHeaderString-java.lang.String-

Fixes #203

@timyates timyates added the type: bug Something isn't working label Aug 30, 2023
@timyates timyates added this to the 4.0.2 milestone Aug 30, 2023
@timyates timyates requested a review from sdelamo August 30, 2023 15:12
@timyates timyates self-assigned this Aug 30, 2023
@sonarcloud
Copy link

sonarcloud bot commented Aug 31, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sdelamo sdelamo merged commit 7bbd0ca into 4.0.x Aug 31, 2023
7 checks passed
@sdelamo sdelamo deleted the fix-getHeaderString branch August 31, 2023 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants