RE: LWP gets 400, Firefox gets a 200. #2

But wouldn't any javascript changes show up in the LiveHTTPheaders
output?=20

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=20

    my @headers =3D ( 'Referer' =3D> 'https://bogus.com/foo/goo.jsp' );
    $response =3D $agent->get($url,@headers);

Right?


Andy Ford
314-955-6647
andyford@agedwards.com
=20

> -----Original Message-----
> From: Worenklein, David, GCM [mailto:David.Worenklein@rbsgc.com]=20
> Sent: Thursday, July 06, 2006 2:50 PM
> To: Ford, Andy; libwww@perl.org
> Subject: RE: LWP gets 400, Firefox gets a 200.
>=20
> 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.
>=20
>=20
> -----Original Message-----
> From: Ford, Andy [mailto:andyford@AGEDWARDS.com]=20
> Sent: Thursday, July 06, 2006 3:41 PM
> To: libwww@perl.org
> Subject: LWP gets 400, Firefox gets a 200.
>=20
> What could be different about the two processes?
>=20
> -----------------------------------------
> *******************************************************************
> *
>=20
> 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.
>=20
> *******************************************************************
> *
>=20


---------------------------------------------------------------------------=
----------
A.G. Edwards & Sons' outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other=20
than the recipient.

---------------------------------------------------------------------------=
----------

0
andyford
7/6/2006 8:10:40 PM
perl.libwww 3335 articles. 0 followers. Follow

0 Replies
658 Views

Similar Articles

[PageSpeed] 33

Reply:

Similar Artilces:

RE: LWP gets 400, Firefox gets a 200.
The site could use javascript to surreptitiously change your request=2E=0D= =0AI've also seen sites that require your referrer to be set to something= =0D=0Aspecific before they give you what you want=2E=0D=0A=0D=0A=0D=0A-----= Original Message-----=0D=0AFrom: Ford, Andy [mailto:andyford@AGEDWARDS=2Eco= m] =0D=0ASent: Thursday, July 06, 2006 3:41 PM=0D=0ATo: libwww@perl=2Eorg= =0D=0ASubject: LWP gets 400, Firefox gets a 200=2E=0D=0A=0D=0AWhat could be= different about the two processes?=0D=0A=0D=0A----------------------------= -------------=0D=0A************************************...

RE: LWP gets 400, Firefox gets a 200. #3
> -----Original Message----- > From: Gedanken [mailto:gedanken@io.com]=20 > Sent: Thursday, July 06, 2006 2:53 PM > To: Worenklein, David, GCM > Cc: Ford, Andy; libwww@perl.org > Subject: RE: LWP gets 400, Firefox gets a 200. >=20 > On Thu, 6 Jul 2006, Worenklein, David, GCM wrote: >=20 > Its a long shot, but i found the %D%D at the end of one of=20 > the variables=20 > suspicious.=20 Those are %3D , URI escapes for "=3D" signs. I thought that should be what URI->new does, no? AndyF. -------------------------------------...

RE: LWP gets 400, Firefox gets a 200. #4
> -----Original Message----- > From: Gedanken [mailto:gedanken@io.com]=20 > Sent: Thursday, July 06, 2006 3:47 PM > To: Ford, Andy > Cc: libwww@perl.org > Subject: RE: LWP gets 400, Firefox gets a 200. >=20 > On Thu, 6 Jul 2006, Ford, Andy wrote: >=20 > Yeah Im definitely reaching. interpolation problems are=20 > rare. Still, it=20 > wouldnt take but a second to change the var =3D> $value to a=20 > var =3D> "$value"=20 > and see if theres any change on the wire. You mean that "%3D" could be interpreted as a h...

LWP gets 400, Firefox gets a 200.
I'm using LWP to get a pdf file via a form submission in a GET. Seems very standard, I get the URLs from LiveHTTPHeaders and reconstruct from there. There's five or six steps leading up to this last step, logging in, collecting cookies and variables and whatnot. Then this last step fails with a "400 Bad Request". (URLs have been modified to protect possible sensitive stuff). $url =3D URI->new("https://ooga.bogus.com/foo/bar;jsessionid=3D$jsessionId"); $url->query_form( requestor =3D> 'AGE', doctype =3D> ...

Cannot get to firefox from thunderbird-cannot get to firefox at all.
Name: Sharon O'Hara Email: familien1_at_wavecable.com Product: Firefox Summary: Cannot get to firefox from thunderbird-cannot get to firefox at all. Comments: Thunderbird freezes up, Windows offers a file an error report and I'm shut down. I got here -now- through IE - why will IE work when Firefox won't? Sharon O'Hara Browser Details: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) ...

POST GET GET GET GET... WTH?
Hi, I'm at a loss to explain this... I have an ASPX page that I can't always navigate to. When I developed the app (it's Starter Kit Portal-based), I did it on my LAN and have had no trouble accessing the page. However, upon deployment, I see the following behavior: 1. POST request goes out looking for MyForm.aspx 2. GET request for MyForm.aspx 3. GET request for MyForm.aspx 4. ... X. GET request Sometimes, the page finally loads. Other times, it just ends up blank. Many times, it doesn't load at ALL the first POST - I just get a "The pa...

How do I get a "get mail" icon on the navigation toolbar Firefox 2.0 ?
Name: Gerald fedelem Email: gfedelematcomcastdotnet Product: Firefox Summary: How do I get a "get mail" icon on the navigation toolbar Firefox 2.0 ? Comments: How do I get a "get mail" icon on the navigation toolbar. Firefox 2.0 ? Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 ...

RE: Re[2]: Getting Started
I found the Learning Perl on Win32 to be a difficult book to start with. I had no prior programming experience and found that the book assumes lots of prior knowledge. Although in typical O'Reilly fashion the book is well written and edited, it is just not written for the non-programmer types. All is not lost. Two free sources I have found to be very helpful and free. Great news for someone trying to get their feet wet. First Robert's PERL tutorial for Win32 novices. http://www.netcat.co.uk/rob/perl/win32perltut.html Second from www.Perl.com . http://www.perl.com/p...

How do I get Firefox 2 back? #2
Name: Margaret Straley Product: Firefox Summary: How do I get Firefox 2 back? Comments: What a holy nightmare your new browser is. I am quitting. This new beta ia a catastrophe for users. Please allow download of previous versions that actually work. Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not CC) the sender for them to see it. ...

Re: Get get HotSync to work
Breck, Thanks for the help. I rebooted the computer (just to play it safe) and I am still getting the same problem. When I look at the 'properties' of dbhync7.dll, it is version 7.0.3.2067 and says "UltraLite DMC HotSync Conduit". The registry entry for hkey_current_user\software\us robotics\pilot software\application 7 Conduit dbhsync7.dll Creator ox54435331 Directory "PalmTCS" Information "Sybase ASA MobiLink Conduit (PalmTCS)" Name "PalmTCS" Any ideas? Sal ...

Re: I can't get no cache, I can't get no cache. ' Cause I try and I try and I try and, I can't get no, I can't get no cache.
<div>please com e see me about htis<br /> <br /> ------- Original Message f= rom the Global Relay Archive -------<br /> From: Hp &lt;ferd@farkel.net&gt;= <br /> To: "support-firefox@lists.mozilla.org" &lt;support-firefox@lists.mo= zilla.org&gt;<br /> Sent: Sun, 27 May 2012 18:30:18 -0700<br /> Subject: I = can't get no cache, I can't get no cache. 'Cause I try and I try and I try = and, I can't get no, I can't get no cache.<br /> <br /></div> <pre class=3D"gr-maex-body-pre&qu...

Re: Bug 621175
Assuming the code is NPOTB, quite good! cheers, mike Philip Chee <philip.chee@gmail.com> wrote: I'm re-purposing a SeaMonkey bug and moving it to Core::General. Relevant links: <http://www.floodgap.com/software/tenfourfox/> <http://tenfourfox.blogspot.com/> There appears to be an active fork of Firefox 4.0/Gecko 2.0 being back ported to Mac PPC. What are the chances of getting their private changesets into the mozilla-2.0 tree - properly IFDEFed and NPOTDB of course? Phil -- Philip Chee <philip@aleytys.pc.my>, <philip.chee@gmail.com&g...

Re: Re[2]: Fwd: not able to get mails from bugzilla
------------A1F1393546339E Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi=20 sorry the OS is LINUX =A0 so where do we find the logs now? =A0 Thanks and Regards , Prasanna.s.k --- On Fri, 6/2/09, Thorsten Sch=F6ning <tschoening@am-soft.de> wrote: From: Thorsten Sch=F6ning <tschoening@am-soft.de> Subject: Re[2]: Fwd: not able to get mails from bugzilla To: support-bugzilla@lists.mozilla.org Date: Friday, 6 February, 2009, 9:06 AM Guten Tag Prasanna Sheregar, am Freitag, 6. Februar 2009 um 09:50 schrieben Sie: &...

Re: RE: LWP get only <center> img
----- Original Message ----- From: Brian Volk <BVolk@HPProducts.com> Date: Thursday, December 23, 2004 8:55 am Subject: RE: LWP get only <center> img > Mark, > > Thank you so much for your help, that worked great! It turns out > that I > already had the latest version of HTML::Tokeparser::Simple installed. NP Bryon, that is what this list is all about. I am sure next time you'll try to give me a hand. Happy Holiday's All...Cheers Mark G. > > Thanks again! > > Brian > > > -----Original Message----- > ...

Web resources about - RE: LWP gets 400, Firefox gets a 200. #2 - perl.libwww

Firefox - Wikipedia, the free encyclopedia
This article is about the web browser. For the operating system, see Firefox OS . For other uses, see Firefox (disambiguation) . web browser ...

Mozilla Firefox Web Browser — Free Download — mozilla.org
Mozilla Different by Design Proudly non-profit Innovating for you Fast, flexible, secure Download Firefox — English (US) Windows Linux Mac OS ...

Firefox Facts - best guide to add-ons, themes and tips for Firefox
Firefox Facts is the best independently run Firefox blog out there today. Learn more about how to us Firefox, add-ons, themes and news on the ...

Firefox Affiliates
Firefox Affiliate buttons are a bit of html code that you put on your website or blog to encourage visitors to your site to download Firefox. ...

Firefox OS
The latest news about Firefox OS

Firefox 13.0.1 Download - Get Mozilla Firefox
Download the new Firefox Browser for a faster, safer and better web experience - Get Firefox for your iPhone and Android - make the switch today ...

Techarger Firefox
Il est maintenant possible de supprimer des vidos sans passer par itunes. Par ben, mardi janvier le retrait de vlc de l app store videolan 5 ...

Firefox Flicks : Winners
Firefox Flicks — A video contest to tell the story of your favorite browser. Submit your entry by May 1, 2012 and win prizes.

Facebook To Mozilla: Add WebP Support To Firefox
... with the use of Google ’s WebP image format due to its smaller file sizes for photos , and now the social network is trying to get Firefox parent ...

Under the hood: Facebook Messenger for Firefox - Facebook
Facebook Engineering hat eine Notiz mit dem Titel Under the hood: Facebook Messenger for Firefox geschrieben. Du kannst den vollständigen Text ...

Resources last updated: 12/28/2015 4:30:35 AM