[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 263
  • Last Modified:

Content type:Multipart/related

How can I chop up a submission that is Content type:Multipart/related in MX?

I can see in GetHttpRequestData().headers["content-type"] what the that it is multipart related and what the first boundary is but not what the rest of the boundaires are or how to handle them.

If I do a toString(GetHttpRequestData().Content) I can see the boundaries, but is my only option to scan the content looking for the end of the first boundary and assume the next thing is a new boundary??


0
code_bloke
Asked:
code_bloke
  • 2
1 Solution
 
PluckaCommented:
code_bloke,

What are you trying to achieve?

Regards
Plucka
0
 
code_blokeAuthor Commented:
I need to be able to extract the various constituent parts of a multipart post.
0
 
code_blokeAuthor Commented:
Don't worry,

Have solved this now my self by parsing the header.

Cheers

-code_bloke

PS: How do you delete/ close questions on here?
0
 
DarthModCommented:
PAQed with points refunded (250)

DarthMod
Community Support Moderator
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now