Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter LuxDelux

    (@luxdelux)

    A temporary solution if you’re only uploading images, in

    rackspace-cloud-files-cdn/lib/class.rs_cdn.php

    after line 66, before the return, insert

    $file->content_type = 'image/jpeg';

    A better solution would be to update to latest php-opencloud, as I figured the automatic type detection should work there

    [Moderator Note: No bumping, thank you.]

    Plugin Author paypromedia

    (@paypromedia)

    This issue should now be resolved. Please let me know if this issue is resolved.

    I added code to the older version of php-opencloud (1.5.10 – if your server is using PHP before 5.3.3) to add content types, and the latest version of php-opencloud (1.9.2) supports this already. Any files that are uploaded after version 1.0 should have the correct content type.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Images transferred as application/x-www-form-urlencoded’ is closed to new replies.