Skip to content

Commit

Permalink
fjern ekstra content type header
Browse files Browse the repository at this point in the history
  • Loading branch information
alpet committed Aug 20, 2024
1 parent f0c18ea commit 276fc38
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ebms-provider/src/main/kotlin/no/nav/emottak/ebms/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ suspend fun ApplicationCall.respondEbmsDokument(ebmsDokument: EbMSDocument) {
}

this.response.headers.apply {
this.append(MimeHeaders.CONTENT_TYPE, ContentType.Text.Xml.toString())
this.append(MimeHeaders.SOAP_ACTION, "ebXML")
}
if (ebmsDokument.dokumentType() == DokumentType.PAYLOAD) {
Expand Down

0 comments on commit 276fc38

Please sign in to comment.