Skip to content

Commit

Permalink
MAT-6547 set content type header
Browse files Browse the repository at this point in the history
  • Loading branch information
adongare committed Feb 22, 2024
1 parent 4971526 commit ba88d99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public ResponseEntity<String> generateHqmf(
// generate HQMF if the model type is QDM
if (measure != null && measure.getModel() != null && measure.getModel().contains("QDM")) {
return ResponseEntity.ok()
.contentType(MediaType.APPLICATION_XML)
.header("Content-Type", MediaType.APPLICATION_XML_VALUE)
.body(hqmfService.generateHqmf((QdmMeasure) measure));
}
throw new UnsupportedModelException(
Expand Down

0 comments on commit ba88d99

Please sign in to comment.