in reply to Perl parsing of multipart content

So, upon receiving content, how does one find the 'boundary' (...)?
It is the responsibility of the client application to tell you:
Content-Type: multipart/form-data; boundary=???
where ??? is the boundary, obviously.


holli

You can lead your users to water, but alas, you cannot drown them.

Replies are listed 'Best First'.
Re^2: Perl parsing of multipart content
by afoken (Chancellor) on Jun 14, 2019 at 21:38 UTC

    Some more information about the boundary parameter: Re^5: Using Net::SMTP to send email attachments. Yes, that posting is about emails. But HTTP has stolen MIME from email, and so came the boundary, MIME types, and much more to HTTP.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)