Content type:Multipart/related

Posted on 2006-03-28
Last Modified: 2013-12-24
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??

Question by:code_bloke
    LVL 18

    Expert Comment


    What are you trying to achieve?

    LVL 1

    Author Comment

    I need to be able to extract the various constituent parts of a multipart post.
    LVL 1

    Author Comment

    Don't worry,

    Have solved this now my self by parsing the header.



    PS: How do you delete/ close questions on here?
    LVL 1

    Accepted Solution

    PAQed with points refunded (250)

    Community Support Moderator

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    A web service ( is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
    Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now