title: AWS S3 presigned URL with metadata
body: <p>I am trying to create presigned-url using boto3 below</p>
  
  <pre><code>s3 = boto3.client(
      's3', 
      aws_access_key_id=settings.AWS_ACCESS_KEY, 
      aws_secret_access_key=settings.AWS_ACCESS_SECRET, 
      region_name=settings.AWS_SES_REGION_NAME,
      config=Config(signature_version='s3v4')
  )
  metadata = {
      'test':'testing'
  }
  presigned_url = s3.generate_presigned_url(
  ClientMethod='put_object', 
  Params={
      'Bucket': settings.AWS_S3_BUCKET_NAME,
      'Key': str(new_file.uuid),
      'ContentDisposition': 'inline',
      'Metadata': metadata
  })
  </code></pre>
  
  <p>So, after the URL is generated and I try to upload it to S3 using Ajax it gives 403 forbidden. If I remove Metadata and ContentDisposition while creating URL it gets uploaded successfully.</p>
  
  <p>Boto3 version: 1.9.33</p>
  
  <p>Below is the doc that I referring to:
  <a href="https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#S3.Client.generate_presigned_url" rel="noreferrer">https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#S3.Client.generate_presigned_url</a></p>