We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cef1569 commit 4cd4703Copy full SHA for 4cd4703
dlp/src/inspect_file.php
@@ -56,9 +56,7 @@ function inspect_file(
56
57
// Construct file data to inspect
58
$content = new ContentItem();
59
- // $content->setType('image/png');
60
- $content->setType(
61
- mime_content_type($path) ?: 'application/octet-stream');
+ $content->setType(mime_content_type($path) ?: 'application/octet-stream');
62
$content->setData(file_get_contents($path));
63
64
// Run request
0 commit comments