Thread View: borland.public.cppbuilder.internet.web
4 messages
4 total messages
Started by Kalle
Mon, 29 Nov 2004 11:52
TIdHTTP get redirect URL
Author: Kalle
Date: Mon, 29 Nov 2004 11:52
Date: Mon, 29 Nov 2004 11:52
13 lines
1290 bytes
1290 bytes
Hi all, as TIdHTTP works very good with redirecting urls I like to know if i can get the url where TIdHTTP redirect to. a function would be great, which return me the url or the new redirect url as needed. does anybody has any idea how i could solve this situation? thanks in advance greetings from doha kalle
Re: TIdHTTP get redirect URL
Author: Saulo I. Regis
Date: Mon, 29 Nov 2004 15:59
Date: Mon, 29 Nov 2004 15:59
15 lines
1421 bytes
1421 bytes
"Kalle" <Kalle@yahoo.com> escreveu na mensagem news:41ab0d78@newsgroups.borland.com... > Hi all, > > as TIdHTTP works very good with redirecting urls I like to know if i can get > the url where TIdHTTP redirect to. a function would be great, which return > me the url or the new redirect url as needed. TIdHTTP has the OnRedirect event and in the event handler the "dest" parameter is the URL for the new resource location. Take a look at Indy pdf documentation! Saulo
Re: TIdHTTP get redirect URL
Author: Remy Lebeau (TeamB)
Date: Mon, 29 Nov 2004 17:48
Date: Mon, 29 Nov 2004 17:48
17 lines
1575 bytes
1575 bytes
"Kalle" <Kalle@yahoo.com> wrote in message news:41ab0d78@newsgroups.borland.com... > as TIdHTTP works very good with redirecting urls I like > to know if i can get the url where TIdHTTP redirect to. Use the OnRedirect event for that. The VLocation parameter will be the new URL being redirected to. > a function would be great, which return me the url or the > new redirect url as needed. The TIdHTTP.Request.Location property is updated with the new URL as well. Gambit
Re: TIdHTTP get redirect URL
Author: Remy Lebeau (TeamB)
Date: Mon, 29 Nov 2004 17:48
Date: Mon, 29 Nov 2004 17:48
10 lines
1375 bytes
1375 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:41ab604d$1@newsgroups.borland.com... > The TIdHTTP.Request.Location property is updated with the new URL as well. Whoops, I meant the TIdHTTP.Request.URL property. Gambit
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads