ZF-12551: Zend_Service_Rackspace_Files::storeObject sets Content-Type to 'application/json'

Issue Type: Bug Created: 2013-03-25T12:45:37.000+0000 Last Updated: 2013-03-25T14:20:37.000+0000 Status: Closed Fix version(s): Reporter: Matt Kynx (kynx) Assignee: None Tags: Related issues: - ZF-12421



There is currently no way to set the Content-Type header when storing an object to cloudfiles. This means if you upload image to CDN it will have the wrong content type when you reference it by URL.

The attached patch adds a $content_type parameter to storeObject(), giving the method the same signature as copyObject().


Posted by Matt Kynx (kynx) on 2013-03-25T12:50:48.000+0000

Oops, looks like I'm out of date. This is a dupe of ZF-12421

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.