thephpleague / flysystem-rackspace

Flysystem Adapter for Rackspace
37 stars 28 forks source link

Infer Content-Type #24

Open challgren opened 5 years ago

challgren commented 5 years ago

In the AWS S3 adapter https://github.com/thephpleague/flysystem-aws-s3-v3/blob/master/src/AwsS3Adapter.php#L583 the ContentType is attempted to be set programmatically and can be overridden by setting a Config['ContentType']

However for the Rackspace Adapter this isn't even attempted and depends on the user to update the header with a Content-Type parameter when uploading.