[Lazarus] TFPHTTPClient: Redirection

Michael Van Canneyt michael at freepascal.org
Tue Jan 22 18:03:41 CET 2013



On Tue, 22 Jan 2013, silvioprog wrote:

> 2013/1/22 Michael Van Canneyt <michael at freepascal.org>
>       On Tue, 22 Jan 2013, silvioprog wrote:
>             Hello,
>             TFPHTTPClient supports automatic redirection?
>
>             Please see Indy redirection:
>
>             http://stackoverflow.com/questions/4549809/indy-idhttp-how-to-handle-page-redirects
> 
> 
> No. But it should not be difficult to add.
> 
> Michael.
> 
> 
> Very good! :)
> 
> I open an issue in the bugtracker?

And will you append a patch implementing it ? :-)

> 
> ps. The two codes that implements redirection in Indy:
> 
> ConnectToHost - http://pastebin.com/kLJbinDp

This has nothing to do with redirection ?

> ProcessResponse - http://pastebin.com/88frpEaX

This does.

Michael.




More information about the Lazarus mailing list