Should a HTTP POST'ed file be base64 encoded?
Posted
by andybee
on Stack Overflow
See other posts from Stack Overflow
or by andybee
Published on 2010-03-17T16:24:28Z
Indexed on
2010/03/17
16:31 UTC
Read the original article
Hit count: 516
I'm currently implementing a client application that POST's a file over HTTP and have implemented base64 encoding on the file's data parameter.
However, it appears that when inspecting the traffic between a simple HTML page with a file upload form and the server that no Content-Transfer-Encoding header is sent in the body when describing the file's parameter.
Is this the preferred way of POST'ing a file over HTTP?
© Stack Overflow or respective owner