Changed static value to Response class constant (302)

Replaced static HTTP code 302 in redirect method parameters by the constant value in Response class