[ 
https://issues.apache.org/jira/browse/CAMEL-17358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Cosentino resolved CAMEL-17358.
--------------------------------------
    Resolution: Fixed

> AWS SDK2 Producer does not set the Content Type at all
> ------------------------------------------------------
>
>                 Key: CAMEL-17358
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17358
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-aws2
>    Affects Versions: 3.11.4, 3.14.0
>            Reporter: thanos
>            Assignee: Andrea Cosentino
>            Priority: Major
>              Labels: AWS
>             Fix For: 3.15.0, 3.14.1, 3.11.6
>
>         Attachments: camelbug17358.zip
>
>
> Just migrated from Camel AWS SDK1 Producer to SDK2 Producer and our unit 
> tests break because the Content Type of the uploaded object is not set at the 
> PutObjectRequest level but only at the ObjectMetadata object. It appears, 
> after quick comparison between SDK1 and SDK2 that in SDK1 AWS-SDK was happy 
> to take the content type from the metadata while now it expects it to be in 
> the PutObjectRequest field.
>  
> A test case will be uploaded shortly to demonstrate the bug



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to