[progress Communities] [progress Openedge Abl] Forum Post: Re: Http Client Multipart Form...

  • Thread starter Thread starter Peter Judge
  • Start date Start date
Status
Not open for further replies.
P

Peter Judge

Guest
Hey Rod, You need to (manually) set the Content-Disposition header on the part. Something like the below should work – you’ll need to change the Value though. ASSIGN oSoapDoc = NEW MEMPTR (mData) oPart = NEW MessagePart( 'application/octet-stream' :u, oSoapDoc) oPart:ContentId = 'blob' :u. oPart:Headers: Put (HttpHeaderBuilder:Build( 'Content-Disposition' ) : Value ( 'attachment; fileName="soap.xml"' ) : Header ). oMultiEntity:AddPart(oPart).

Continue reading...
 
Status
Not open for further replies.
Back
Top