Dante Posted January 3, 2009 Report Share Posted January 3, 2009 I'm getting the error "Cannot handle redirect from HTTP/HTTPS protocols to other dissimilar ones." because the HTTP URL I generate for Ketarin to use is sometimes redirected to a FTP mirror. I think the redirect should be supported. Link to comment Share on other sites More sharing options...
floele Posted January 3, 2009 Report Share Posted January 3, 2009 I think so too, but this currently is a limitation in the .NET framework. It's certainly possible to create a workaround, but it's not trivial. Link to comment Share on other sites More sharing options...
Stalker Posted January 3, 2009 Report Share Posted January 3, 2009 Wouldn't it be possible to just catch 403 Redirect and fetch the URL from there ? As far as I remember it works fine when GETting 403 and then POSTing the redirect URL. At least that's the way how I implemented redirects on CoreFoundation (Mac OS) and they had the same base architecture of WebRequests and WebResponses. Link to comment Share on other sites More sharing options...
floele Posted January 3, 2009 Report Share Posted January 3, 2009 Yep, but I'll have to re-implement the currently used auto-redirection functionality => certain amount of work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now