On weak homotopy equivalences between mapping spaces