Skip to content Skip to sidebar Skip to footer

How To Send Binary Multipart Formdata As Base64?

Possible Duplicate: How can you encode to Base64 using Javascript? I have a web application based on Java, Wicket and JQuery which has a function to enable users to upload files

Solution 1:

It seems that you can set Content-Transfer-Encoding: base64 quote from W3C:

Each part may be encoded and the "Content-Transfer-Encoding" header supplied if the value of that part does not conform to the default (7BIT) encoding

http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2

Provided your Java Web Server in use doesn't ingore parameter Content-Transfer-Encoding.

Post a Comment for "How To Send Binary Multipart Formdata As Base64?"