Open tjarratt opened 9 years ago
Hey @toobulkeh is it possible this was fixed by the most recent release of Savon-Multipart? A lovely contributor recently made the check for the multipart content-type header case insensitive, and I was wondering if that might fix your issue.
let me check it out, thanks for the follow up!
I'm in the same issue in 2017. I need to get some information of legacy systems using WS, and the response comes with extra content like "\r\n--uuid:51d686cd-1f98-44db-b0f7-84506459ce9d\r\nContent-Type: application/xop+xml;"
By the way I'm using the @toobulkeh forced solution to create a Savon::Multipart::Response that gives a clean soap message, but I would be gladfull if Savon or Multipart already did it.
Cloned from Savon issue 682. https://github.com/savonrb/savon/issues/682
pulling from https://github.com/savonrb/savon-multipart/blob/master/spec/savon/soap/response_spec.rb#L9
A good workaround might be to consider an option that just allows the user to force the response to be parsed as multipart, or possibly improving the regex to allow for more varied types of multipart headers.