alexdean / as2

AS2 protocol implementation in Ruby
https://rubygems.org/gems/as2
MIT License
3 stars 2 forks source link

Improved formatting for outbound messages #28

Closed alexdean closed 1 year ago

alexdean commented 1 year ago

build more standard outbound messages

  1. content type application/pkcs7-signature rather than application/x-pkcs7-signature
  2. remove plain text "This is an S/MIME signed message" text before first MIME boundary
  3. replace plain \n line endings with \r\n

this will be configured via a new property outbound_format on the As2::Config::Partner class.

all valid formats will be available via As2::Client.valid_outbound_formats.