title: Unable to upload jpg image without exif to AWS S3
body: <p>I'm trying to upload jpg images on AWS S3 using the golang aws client (github.com/aws/aws-sdk-go v1.43.10) as follow:</p>
  <pre><code>func (s *S3) PutObject(bucket string, key string, body io.ReadSeeker) (*s3.PutObjectOutput, error) {
      objectInput := &amp;s3.PutObjectInput{
          Body:        body,
          Bucket:      aws.String(bucket),
          ContentType: aws.String(&quot;image/jpeg&quot;),
          Key:         aws.String(key),
      }
  
      return s.Client.PutObject(objectInput)
  }
  </code></pre>
  <p>Some of the images i'm trying to upload do not have exifs and in that case upload fails without any error, the image just don't pop in the bucket i've specified.
  The only workaround i've found until now is to rename the destination key suffix from jpg to jpeg.</p>
  <p>It's not an authorization issue since i'm able to upload the other images.
  Is there something that i am missing ? Or does AWS checks exifs &quot;under the hood&quot; and rejects my images ? Aws documentation doesn't seem to mention anything of the sort.</p>