2012-02-27, 07:49
Ok, when I was debugging the script I got:
(I added a line to print out the response url)
But my browser returns the www. as well.
What the site returns is really up to it. I am using a squid proxy may alter the request.
Also of some use:
Code:
NOTICE: Oz Weather-0.3.5: Exception: OzWeather: got responseurl [http://www.weatherzone.com.au/search/]
But my browser returns the www. as well.
What the site returns is really up to it. I am using a squid proxy may alter the request.
Also of some use:
Code:
[root]# curl -D /tmp/curl-headers "http://weatherzone.com.au/search"
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.weatherzone.com.au/search">here</a>.</p>
</body></html>