add support to get the redirected request object