Fixed http-request redirection handling behavior