PATCH: Make redirection from HTTP to FTP work [Was: Problems with redirection from HTTP to FTP]

David Faure dfaure at klaralvdalens-datakonsult.se
Sun Nov 16 18:45:08 GMT 2003


On Sunday 16 November 2003 19:35, Dawit A. wrote:
> Hi,
> 
> Here is a patch to address that problem.
Looks good to me.

> I guess all other apps that run into  
> the same problem have to do similar things. 
Yes - although not many apps provide links to "about everything that could be"...

> This brings up an interesting  
> question though. Why does KIO handle redirection by itself to begin with ? 
> Shouldn't that have been left upto each applications ?
No. Think e.g. kuickshow. If a HTTP url redirects to another host to get the image,
this is the easy case that can be handled in KIO. If each and every app using KIO
had to think about redirections, this would be a hell of a lot of duplicated code.

-- 
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions




More information about the kde-core-devel mailing list