add mimetyoe for local resource