mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-19 06:31:54 +00:00
became
if !strings.HasPrefix(mt, "application/octet-stream")
In our situation,
mt can be 'application/octet-stream;charset=ISO-8859-1',
so I think HasPrefix will be more accurate.