[Lazarus] TFPHTTPClient: Redirection

silvioprog silvioprog at gmail.com
Tue Jan 22 17:53:08 CET 2013


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<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?

ps. The two codes that implements redirection in Indy:

ConnectToHost - http://pastebin.com/kLJbinDp
ProcessResponse - http://pastebin.com/88frpEaX

It really seems to be easy to implement!

-- 
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130122/585a7bb1/attachment-0003.html>


More information about the Lazarus mailing list