vrk-kpa / xroad-joint-development

Unmaintained repository. Development moved to: https://github.com/nordic-institute/X-Road-development
19 stars 8 forks source link

As a Product Owner I want that the Service Metadata Protocol response messages are correctly setting Content-Type so that the type is not indicating wrong kind of data #101

Closed hanhaka closed 7 years ago

hanhaka commented 7 years ago

Affected components: - Affected documentation: - Estimated delivery: January 2017 External reference: https://jira.csc.fi/browse/PVAYLADEV-666

Problem Service Metadata Protocol requests are returning wrong Content-Type header in response message. The type should be "text/xml" but is now incorrectly “multipart/related; type="text/xml". “Multipart/related” type is indicating the attachment is included to SOAP message but this is not the case: Service Metadata Protocol responses are normal SOAP messages without attachments.

Acceptance criteria

hanhaka commented 7 years ago

Commited to XM/develop (finnish-6.9.2 pull request). Will be available in 6.9.2 release.