yanyiwu
96b73e3e94
if mt != "application/octet-stream"
...
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.
2015-05-16 18:55:58 +08:00
..
2015-05-16 18:55:58 +08:00
2015-04-16 21:11:25 +00:00
2013-02-10 04:05:28 -08:00
2015-04-16 19:18:06 +00:00
2015-04-16 19:18:06 +00:00
2015-04-16 21:46:37 +00:00
2015-04-16 19:18:06 +00:00
2015-04-16 19:18:06 +00:00
2015-04-16 21:11:25 +00:00
2015-04-20 14:47:41 +08:00
2014-05-13 11:25:48 -07:00
2015-04-16 21:11:25 +00:00
2015-04-16 21:11:25 +00:00
2015-04-16 19:18:06 +00:00
2015-04-16 19:18:06 +00:00
2014-10-26 11:34:55 -07:00
2014-05-13 19:26:05 -07:00
2015-04-16 21:46:37 +00:00
2015-04-16 21:11:25 +00:00
2015-04-16 19:18:06 +00:00
2015-04-16 19:18:06 +00:00
2015-04-16 21:11:25 +00:00