|There's more than one way to do things|
Finding a redirect's URLby kbeen (Sexton)
|on Nov 23, 2001 at 21:12 UTC||Need Help??|
kbeen has asked for the wisdom of the Perl Monks concerning the following question:
I have been cracking my head against a wall trying to get the URL that a user is supposed to be redirectted to after submiting data.
I read that the default for following redirects from a POST query is off, and I have tried it with both POST and GET. However, I don't want the script to actually follow the redirect, just get that precious "qid" value for me.
Using the code below, I can't find the redirect in the header or in the content. Does anybody know what is going on, and how my browser can be redirected, but there is actually information sent that tells it where to redirect to? Is there someway that I am not seeing every last byte of response using below?
Any advice is appreciated.