[ 
https://issues.apache.org/jira/browse/CB-6503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14307435#comment-14307435
 ] 

ASF GitHub Bot commented on CB-6503:
------------------------------------

Github user LanceEa commented on the pull request:

    
https://github.com/apache/cordova-plugin-file-transfer/pull/27#issuecomment-73067401
  
    I'm trying to upload some images to Azure Blob Storage and it doesn't seem 
to like the multipart-form. I would like to be able to upload using 
"image/jpeg" o at least be able to keep it generic and leverage 
"application/octet-stream". 
    
    Any status on this PR or changes coming to the file transfer plug-in?
    
    Thanks!


> allow file uploads to be sent directly, rather than only as multipart form 
> data
> -------------------------------------------------------------------------------
>
>                 Key: CB-6503
>                 URL: https://issues.apache.org/jira/browse/CB-6503
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin File Transfer
>    Affects Versions: 3.3.0
>            Reporter: M C
>            Priority: Minor
>
> > > on iOS, Android and Amazon, if upload has a header named Content-Type, 
> > > multipart form data will NOT be used 
> > I understand the problem, but wouldn't it be better if we just filtered out 
> > "Content-Type" for user-defined headers? (disallow setting it)
> In this use case, direct upload without the multipart encoding is desirable, 
> so disallowing the header and forcing multipart upload would have the 
> opposite effect of what was needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to