holodeck-b2b / Holodeck-B2B

Holodeck B2B is an AS4 system-to-system messaging solution that implements the OASIS specifications for ebMS3 and it's AS4 profile. For more information visit the project website
http://holodeck-b2b.org
GNU General Public License v3.0
74 stars 37 forks source link

Content-Disposition in MIME body #114

Closed JoshGlue closed 2 years ago

JoshGlue commented 3 years ago

In section 5.1.9 of the AS4 Specification (http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/profiles/AS4-profile/v1.0/os/AS4-profile-v1.0-os.html#__RefHeading__26456_1909778835) is stated:

The “Content-disposition” header on MIME body parts, when used, MUST carry file name information. Implementations MUST support the setting (when sending) and reading (when receiving) of “Content-disposition” header

I did not find a setting on how to add this header to the payload. Is this header supported in Holodeck or does this need to be implemented?

sfieten commented 3 years ago

Hi Joshua, setting of the Content-Disposition MIME header on the MIME body parts of payloads is currently not supported in Holodeck B2B. Therefore there is also no method of setting this value. If the file name of a payload needs to be exchanged between trading partners it would also be better to define and use a specific Part Property as defined by the ebMS V3 Core Specification.