好吧,出於某種原因。
'contentType' => '圖片/png',
對我沒效。相反,我使用了
'ContentType' => '文字/純文字',
我現(xiàn)在可以查看我的圖像,而無需下載。