Added support for sending params to #retrieve_url