logo       

RE: LWP gets 400, Firefox gets a 200.: msg#00006

Subject: RE: LWP gets 400, Firefox gets a 200.
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.

-------------------------------------------------------------------------------------




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe