The mirror() sub internally uses the data_callback request option without first checking if the user supplied their own. Imagine a user wants to use data_callback to implement a progress bar, but mirror() silently fails to use it. This should either be documented or preferably mirror() should wrap any user-provided sub.