Add support for redirect URL with content length exceeds limit