fix use mime func in send() method (lib/web.php)