Skip to content

Commit

Permalink
Merge pull request #15 from Kerosene-Labs/fix-content-type-not-being-set
Browse files Browse the repository at this point in the history
Fixing content type not being appended to the headers
  • Loading branch information
hlafaille authored Nov 26, 2024
2 parents 28883b8 + 16eecb0 commit a449dd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/java/com/kerosenelabs/kindling/HttpResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public class HttpResponse {
if (contentType == null) {
throw new KindlingException("Programming error, you must specify a Content");
}
headers.put("Content-Type", contentType.getMimeType());
}

public String toString() {
Expand Down

0 comments on commit a449dd6

Please sign in to comment.