python: determine file type by its content (not only by its magic)

后端 未结 0 1103
小鲜肉
小鲜肉 2020-12-01 18:18

So I\'m trying to verify that files I\'m getting (uploaded by the user) are indeed images, and valid.

I\'m running ClamAV (using python\'s clamd package)

相关标签:
回答
  • 消灭零回复
提交回复
热议问题