in reply to Re^2: Need Help with LWP
in thread Need Help with LWP

I'm afraid the problem is not in the URL string itself. I used "+" to concatenate all parts of the street name, because this is what the website code does. The user is supposed to fill in an online form, and click the "Search" button. The URL is displayed in the "Address" field of the browser. Actually, one can use "%20" instead of "+" and it works (in the browser). I just can't quite figure out why the website returns "0 records found" when the very same URL string is sent via HTTP::Request. As I mentioned before, everything works fine if the street name consists of just one word.

Replies are listed 'Best First'.
Re^4: Need Help with LWP
by diotalevi (Canon) on Nov 01, 2004 at 14:44 UTC

    The proper thing to do when faced with two identical queries from different "browsers" (your browser vs IE) is to capture the request made by each and compare the two for differences and to find the difference that matters.

    Some people use proxies to log the browser's traffic, other people use network peeking tools, other people use Mozilla's built-in abilty to capture its HTTP traffic.