added gag for drag-n-drop to support browsers that does not send mime