add method to return an HTTP Redirect response to the client