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

OCM-2780 | fix: Don't error when response is 204 and no content-type #898

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

hunterkepley
Copy link
Collaborator

Also fixes: https://issues.redhat.com/browse/OCM-4087

Original ticket: https://issues.redhat.com/browse/OCM-2780

This MR makes it so that when we have a 204 no content, we return empty response regardless of a missing content-type in the header. This was causing errors leading to nil responses in the SDK within the Keycloak FedRAMP environment

send.go Outdated Show resolved Hide resolved
@ciaranRoche ciaranRoche merged commit fa30c4c into openshift-online:main Jan 31, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants