wouldn't it be more sensible to combine the protocol, hostname, port (if such a question exists) and directory questions into a single request for a mirror url?