[jira] [Commented] (LIBCLOUD-958) S3 always upload as application/octet-stream

2018-03-29 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/LIBCLOUD-958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16420157#comment-16420157
 ] 

ASF GitHub Bot commented on LIBCLOUD-958:
-

Github user asfgit closed the pull request at:

https://github.com/apache/libcloud/pull/1195


> S3 always upload as application/octet-stream
> 
>
> Key: LIBCLOUD-958
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-958
> Project: Libcloud
>  Issue Type: Bug
>  Components: Storage
>Reporter: Iuri de Silvio
>Priority: Major
>
> S3 multipart upload 
> (https://github.com/apache/libcloud/blob/6e4c2e15e8dcbc7b7c5c9a895f7b78f11fd3ba6b/libcloud/storage/drivers/s3.py#L868)
>  does not try to guess content mimetype, like normal upload does 
> (https://github.com/apache/libcloud/blob/6e4c2e15e8dcbc7b7c5c9a895f7b78f11fd3ba6b/libcloud/storage/base.py#L597).
> All multipart upload is done as `application/octet-stream`.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (LIBCLOUD-958) S3 always upload as application/octet-stream

2018-03-27 Thread Iuri de Silvio (JIRA)

[ 
https://issues.apache.org/jira/browse/LIBCLOUD-958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16415502#comment-16415502
 ] 

Iuri de Silvio commented on LIBCLOUD-958:
-

Sent PR, but still need tests. https://github.com/apache/libcloud/pull/1195

> S3 always upload as application/octet-stream
> 
>
> Key: LIBCLOUD-958
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-958
> Project: Libcloud
>  Issue Type: Bug
>  Components: Storage
>Reporter: Iuri de Silvio
>Priority: Major
>
> S3 multipart upload 
> (https://github.com/apache/libcloud/blob/6e4c2e15e8dcbc7b7c5c9a895f7b78f11fd3ba6b/libcloud/storage/drivers/s3.py#L868)
>  does not try to guess content mimetype, like normal upload does 
> (https://github.com/apache/libcloud/blob/6e4c2e15e8dcbc7b7c5c9a895f7b78f11fd3ba6b/libcloud/storage/base.py#L597).
> All multipart upload is done as `application/octet-stream`.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)