Why upload file request has to be mutipart request?

104 views Asked by At

If i need to upload text files say some text or xml file on server , it has to be multipart request. My question is why upload text file request need special treatment? why it can not be normal http request where file content is send as name value pair in POST request body .I am sure there must be some reason behind it.

0

There are 0 answers