ficxed response setting headers during redirect