Bug 806494 - Fix resource header copying on internal redirect. r=gps