opendal icon indicating copy to clipboard operation
opendal copied to clipboard

Add override_content_disposition for `OpRead`

Open Xuanwo opened this issue 2 years ago • 4 comments
trafficstars

  • Add override_content_disposition for OpRead
  • Implement override_content_disposition support in s3

Xuanwo avatar Mar 23 '23 12:03 Xuanwo

Hi, @baszalmstra, would you like to help implement this issue? This can fix https://github.com/apache/incubator-opendal/issues/1726.

Xuanwo avatar Mar 23 '23 12:03 Xuanwo

Should I also implement other override flags? These are the ones supported by S3:

  • response-content-type
  • response-content-language
  • response-expires
  • response-cache-control
  • response-content-disposition
  • response-content-encoding

baszalmstra avatar Mar 23 '23 13:03 baszalmstra

Should I also implement other override flags? These are the ones supported by S3:

I prefer to add response-content-disposition first.

Xuanwo avatar Mar 23 '23 13:03 Xuanwo

See: https://github.com/apache/incubator-opendal/pull/1742

baszalmstra avatar Mar 23 '23 14:03 baszalmstra