brianraymes commented on issue #708: File Upload not working in Royale
URL: https://github.com/apache/royale-asjs/issues/708#issuecomment-598411034
 
 
   @yishayw The change made does now include "multipart/form-data", but is 
still rejected by Apache Commons FileUpload as the boundary parameter is 
required according to the RFC. I'm not sure how the original Flex was doing 
this, but this is how I was using it:
   
   ```
   var header:URLRequestHeader = new URLRequestHeader("Content-type", 
"multipart/form-data; boundary=" + UploadPostHelper.getBoundary());
   uploadURL.requestHeaders.push(header);
   ```
   
   How can I add my own headers and or change the HTTP method?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to