Question regarding content-type and multipart form data

T

Tor Houghton

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top