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

Dean Putney commented on LIBCLOUD-800:
--------------------------------------

In `add_default_headers` in google_storage.py, the `GoogleStorageConnection` 
class checks for the S3 auth, otherwise applies the super class's default 
headers, which overwrites the `Content-Type`. Would it make sense to remove 
this else condition, or extend the logic to include service accounts or other 
auth types?

> GoogleStorageDriver marking everything as application/json MIME-type.
> ---------------------------------------------------------------------
>
>                 Key: LIBCLOUD-800
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-800
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Storage
>            Reporter: Scott Crunkleton
>            Priority: Minor
>
> This started when I changed the GoogleStorageConnection to inherit from 
> GoogleBaseConnection, which always uses application/json.



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

Reply via email to