Skip to content

Commit 86ea70f

Browse files
committed
fix
1 parent 4f7ad4e commit 86ea70f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/com/predic8/membrane/core/interceptor/templating/TemplateInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private static boolean isJsonMessage(Exchange exc, Flow flow) {
130130
}
131131

132132
private boolean producesJSON() {
133-
return contentType != null && contentType.contains("json");
133+
return contentType != null && contentType.toLowerCase().contains("json");
134134
}
135135

136136
private Template createTemplate() {

0 commit comments

Comments
 (0)