From 276fc387a85c9d9a6c9390aff4458bea3f0833f9 Mon Sep 17 00:00:00 2001 From: Alexander Petrov Date: Tue, 20 Aug 2024 15:05:50 +0200 Subject: [PATCH] fjern ekstra content type header --- ebms-provider/src/main/kotlin/no/nav/emottak/ebms/App.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/ebms-provider/src/main/kotlin/no/nav/emottak/ebms/App.kt b/ebms-provider/src/main/kotlin/no/nav/emottak/ebms/App.kt index 1a809e6c..fd1638a8 100644 --- a/ebms-provider/src/main/kotlin/no/nav/emottak/ebms/App.kt +++ b/ebms-provider/src/main/kotlin/no/nav/emottak/ebms/App.kt @@ -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) {