You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "Iuri de Silvio (JIRA)" <ji...@apache.org> on 2018/03/27 12:20:00 UTC

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

    [ https://issues.apache.org/jira/browse/LIBCLOUD-958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)