I think we shouldn't trust the browser at all. We could fall back to application/octet-stream?

On 27 Jul 2013, at 12:52, Branden Visser <notifications@github.com> wrote:

> In node_modules/oae-content/lib/api.js:
> 
> >          if (err) {
> > -            return callback(err);
> > +            log().error({'err': err, 'file': file}, 'Could not determine the file type');
> > +            return callback({'code': 500, 'msg': 'Could not determine the mime type of this file'});
> Rather than bombing out, can we fall back to the browser-provided type?
> 
> —
> Reply to this email directly or view it on GitHub.