I would hope that 99% or more of soldiers who were raped would respond to that attack in an appropriately military manner - if not when attacked then at a shortly later date. Rapists should not survive more than a day or two at most after their crime.
A Biblical Response, like you mention, would land the rape victim in Jail for life...;-(
Homos gone wild!