Forum Discussion

jc111's avatar
jc111
Occasional Contributor
9 years ago

Content-Type

I submitted a form-data Post and for the form part I see:

 

Content-Type: image/jpeg; name=file.jpg

...

Content-Disposition: form-data; name="file"; filename="file.jpg"

 

Why is the name element and value populated in the Content-Type?  When I run a similar command with curl, only the Content-Disposition "name" and "filename" are populated.

 

By the way, when I try to paste into this window, I keep getting a popup asking me to use Ctrl-v, but that's what I did.  I also right clicked and hit "Paste".  I'm using IE 11 on Windows XP.

No RepliesBe the first to reply