Moved redirect handling to request-response so that receiver won't receive its body.
(TODO need refactoring)