sending back client correct mime