Skip to content

Commit

Permalink
Merge pull request #4 from christiaangoossens/fix/christiaangoossens-2
Browse files Browse the repository at this point in the history
Do not check Content-Type upon 204 code
  • Loading branch information
suvera authored Aug 16, 2024
2 parents 0fb4f9e + c9b8fdd commit dd0c436
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ public static void processResponseHeaders(
);
}

// No reason to check Content-Type on 204
if (statusCode == 204) {
return;
}

List<String> contentTypes = headers.get("Content-Type");
boolean found = false;
for (String expected : ScimConstants.CONTENT_TYPES) {
Expand Down

0 comments on commit dd0c436

Please sign in to comment.