How to pass Content-Disposition header with Active Storage Direct Upload?

I would like to pass a value for the Content-Disposition header when direct uploading to a service with Active Storage, but I kind of can not find it in the documentation.

I see the ActiveStorage::Service and ActiveStorage::Service methods.

But I am still searching for how to set the content-disposition header based on the file type. Do you happen to know of an example I could take a look at?