Hi John,
My scenario is simple trying to uploading any file it can be pdf , image or just a text.
<form action="XXXXXX/XXX/XXXX/Customers" method="post" enctype="multipart/form-data">
<input type='file' name='fileupload' />
</form>
this one is parsing fine but we have to add one more header X-Requested-With=XMLHttpRequest until then it will throw an error. but dont know how to set header during form submit . so we have to introduce one more object in between like servlet which will add header and pass to gateway.
For testing purpose i am using chrome rest client tool as u mentioned in past post .
Based on my observation the browser is wrapping file in a Content-Type: multipart/form-data and it support also but it is not parsing the file stream properly, as it does for multipart/mixed ( it fetch each request from batch request ) .
Hope i am clear with my scenario .
Regards,
Jibin Joy