modules/url_handler: add delete function