<div dir="ltr">2013/1/22 Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org" target="_blank">michael@freepascal.org</a>></span><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">
On Tue, 22 Jan 2013, silvioprog wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
2013/1/22 Michael Van Canneyt <<a href="mailto:michael@freepascal.org" target="_blank">michael@freepascal.org</a>><br>
On Tue, 22 Jan 2013, silvioprog wrote:<br>
Hello,<br>
TFPHTTPClient supports automatic redirection?<br>
<br>
Please see Indy redirection:<br>
<br>
<a href="http://stackoverflow.com/questions/4549809/indy-idhttp-how-to-handle-page-redirects" target="_blank">http://stackoverflow.com/<u></u>questions/4549809/indy-idhttp-<u></u>how-to-handle-page-redirects</a><br>
<br>
<br>
No. But it should not be difficult to add.<br>
<br>
Michael.<br>
<br>
<br>
Very good! :)<br>
<br>
I open an issue in the bugtracker?<br>
</blockquote>
<br></div>
And will you append a patch implementing it ? :-)</blockquote><div><br></div><div style>Hehehe... I'll try it. I opened the issue (<a href="http://bugs.freepascal.org/view.php?id=23727">http://bugs.freepascal.org/view.php?id=23727</a>), but I'll send a patch soon.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
ps. The two codes that implements redirection in Indy:<br>
<br>
ConnectToHost - <a href="http://pastebin.com/kLJbinDp" target="_blank">http://pastebin.com/kLJbinDp</a><br>
</blockquote>
<br></div>
This has nothing to do with redirection ?<br></blockquote><div> </div><div style>No no... In this method have only a infinity loop (repeat ... until false), that calls the method with redirection. :)</div><div><br></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
ProcessResponse - <a href="http://pastebin.com/88frpEaX" target="_blank">http://pastebin.com/88frpEaX</a><br>
</blockquote>
<br>
This does.<div class=""><div class="h5"><br>
<br>
Michael.</div></div></blockquote></div><div class="gmail_extra"><br></div>Tonight I will try implementing it and send a patch. After that, I think that I'll retire the plugin HttpUtils(<a href="https://github.com/silvioprog/httputils)/Synapse">https://github.com/silvioprog/httputils)/Synapse</a> hehehe...<br clear="all">
<div><br></div>-- <br>Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div></div>