But wouldn't any javascript changes show up in the LiveHTTPheaders
output?
I mean the javascript would rewrite the URL, and then I get the final
thing that's sent by the browser from my LiveHTTPheaders output, no?
or am I assuming too much?
The referer looks just the previous page, but I set that "by hand"
anyway, but that doesn't help.
If LiveHTTPheaders tells me:
Referer: https://bogus.com/foo/goo.jsp
Then I say
my @headers = ( 'Referer' => 'https://bogus.com/foo/goo.jsp' );
$response = $agent->get($url,@headers);
Right?
Andy Ford
314-955-6647
andyford@xxxxxxxxxxxxx
> -----Original Message-----
> From: Worenklein, David, GCM [mailto:David.Worenklein@xxxxxxxxx]
> Sent: Thursday, July 06, 2006 2:50 PM
> To: Ford, Andy; libwww@xxxxxxxx
> Subject: RE: LWP gets 400, Firefox gets a 200.
>
> The site could use javascript to surreptitiously change your request.
> I've also seen sites that require your referrer to be set to something
> specific before they give you what you want.
>
>
> -----Original Message-----
> From: Ford, Andy [mailto:andyford@xxxxxxxxxxxxx]
> Sent: Thursday, July 06, 2006 3:41 PM
> To: libwww@xxxxxxxx
> Subject: LWP gets 400, Firefox gets a 200.
>
> What could be different about the two processes?
>
> -----------------------------------------
> *******************************************************************
> *
>
> This e-mail is intended only for the addressee named above.
> As this e-mail may contain confidential or privileged information,
> if you are not the named addressee, you are not authorized
> to retain, read, copy or disseminate this message or any part of
> it.
>
> *******************************************************************
> *
>
-------------------------------------------------------------------------------------
A.G. Edwards & Sons' outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other
than the recipient.
-------------------------------------------------------------------------------------
|