Changing the 'magic' redirect status code from 302 to 307 so that HTTP method remains intact