• Alex Pooley's avatar
    Leave upload Content-Type unchaged · f056c62d
    Alex Pooley authored
    There are two important changes in this commit.
    
    1. We only run the content type check when the content_type_whitelist
    method returns truthy.
    2. We don't alter the uploaded file content type as this causes problems
    on Google Cloud Storage.
    f056c62d
job_artifact_uploader_spec.rb 3.69 KB