Browse Source
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.
pull/142/head
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue