Question regarding content-type and multipart form data

Hello,

I’m possibly missing something, but I’m at a loss at how to obtain the
Content-Type: information for data uploaded using a form, e.g.:

-----------------------------79833303215853703371881803053

Content-Disposition: form-data; name=“filename1”; filename=“foo.sh”

Content-Type: application/x-sh

#!/bin/sh

blah

echo “foo”

I see there are methods for extracting the parameter name and filename
for
each uploaded object, but I would also like to obtain the content type.

Anyone?

Regards,

Tor