AnsweredAssumed Answered

How to filter the Multi-part content in the incoming request in VS

Question asked by USCC_Vibhash on Nov 19, 2018
Latest reply on Nov 19, 2018 by USCC_Vibhash



Did anyone come across the requirement to filter the values of the multipart contents. We a requirement where there are multiples files sent in the multipart content. One file contains the request parmeters and the same parameters are sent in the response. Here is a sample of the multipart request:I have to filter values of the file called metadataValuesInUploadFileAsAttachment.txt


Content-Type: text/plain; charset=Cp1252;
Content-Transfer-Encoding: binary
Content-Disposition: form-data; name="metadataValuesInUploadFileAsAttachment.txt"; filename="metadataValuesInUploadFileAsAttachment.txt"


Content-Type: application/pdf; name=2018_08_23_15_15_183_Doc1.pdf.pdf
Content-Transfer-Encoding: binary
Content-Disposition: form-data; name="2018_08_23_15_15_183_Doc1.pdf.pdf"; filename="2018_08_23_15_15_183_Doc1.pdf.pdf"

7 0 obj
<</Linearized 1/L 156493/O 9/E 152492/N 1/T 156202/H [ 461 142]>>

14 0 obj
<</DecodeParms<</Columns 5/Predictor 12>>/Filter/FlateDecode/ID[<0C3A33DFC5F7EA49BFCE33B63A768D1D><80271A7B5894C947BD0DB4D4550815A0>]/Index[7 12]/Info 6 0 R/Length 60/Prev 156203/Root 8 0 R/Size 19/Type/XRef/W[1 3 1]>>stream
h�bbd` ``b``� � � �Q
,� f�